X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=8e5e721cd9707849e121e401c318068bf85e7000;hb=b911379ad317946fc267db7b000aa87dadad8748;hp=6b98367acaf0e976ee2521876890bd1bff7c8128;hpb=9ed6a1981ce22b52d39e9c1e020122619b573e30;p=shibboleth%2Fcpp-opensaml.git diff --git a/Makefile.am b/Makefile.am index 6b98367..8e5e721 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,16 @@ AUTOMAKE_OPTIONS = foreign - -ACLOCAL_AMFLAGS = -I . +ACLOCAL_AMFLAGS = -I m4 include doxygen.am MOSTLYCLEANFILES = $(DX_CLEANFILES) +DISTCLEANFILES = \ + @PACKAGE_NAME@.pc \ + @PACKAGE_NAME@.pc.in \ + @PACKAGE_NAME@-uninstalled.pc \ + @PACKAGE_NAME@-uninstalled.sh + dist-hook: rm -rf `find $(distdir)/samltest/data -name .svn` rm -rf `find $(distdir)/doc/api -name .svn` @@ -13,30 +18,20 @@ dist-hook: SUBDIRS = doc schemas saml samltest samlsign -GENFILES = opensaml.spec pkginfo Portfile - if DX_COND_doc -all-local: doxygen-doc $(GENFILES) +all-local: doxygen-doc else -all-local: $(GENFILES) +all-local: endif -$(GENFILES): %: %.in Makefile - rm -f $@.tmp - sed < $@.in > $@.tmp \ - -e 's:@-VERSION-@:${VERSION}:' - mv $@.tmp $@ +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = @PACKAGE_NAME@.pc + +GENFILES = @PACKAGE_NAME@.spec EXTRA_DIST = $(DX_CONFIG) \ cpp-opensaml2.sln \ - libtool.m4 \ - doxygen.m4 \ - acx_pthread.m4 \ - depcomp \ config_win32.h \ + msbuild \ $(GENFILES) \ - $(GENFILES:%=%.in) \ - depend \ - postinstall - -DISTCLEANFILES = $(GENFILES) + $(GENFILES:%=%.in)