X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=e0b388825dbfb0b70cc24b7e3091ab005457d421;hb=c2dd6ed076ddcd49a0c7cdf1086001d249e689dc;hp=6b98367acaf0e976ee2521876890bd1bff7c8128;hpb=9ed6a1981ce22b52d39e9c1e020122619b573e30;p=shibboleth%2Fcpp-opensaml.git diff --git a/Makefile.am b/Makefile.am index 6b98367..e0b3888 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,19 @@ 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 \ $(GENFILES) \ - $(GENFILES:%=%.in) \ - depend \ - postinstall - -DISTCLEANFILES = $(GENFILES) + $(GENFILES:%=%.in)