X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=Makefile.am;h=2a2d0141e846ed2c9c1b43e3610a4b32d54ca9f2;hp=6b98367acaf0e976ee2521876890bd1bff7c8128;hb=87caecf37aca451b5b5e658416d6ddd19e62ae2b;hpb=9ed6a1981ce22b52d39e9c1e020122619b573e30 diff --git a/Makefile.am b/Makefile.am index 6b98367..2a2d014 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,42 +1,31 @@ -AUTOMAKE_OPTIONS = foreign - -ACLOCAL_AMFLAGS = -I . +AUTOMAKE_OPTIONS = foreign dist-zip dist-bzip2 +ACLOCAL_AMFLAGS = -I m4 include doxygen.am MOSTLYCLEANFILES = $(DX_CLEANFILES) -dist-hook: - rm -rf `find $(distdir)/samltest/data -name .svn` - rm -rf `find $(distdir)/doc/api -name .svn` - +DISTCLEANFILES = \ + @PACKAGE_NAME@.pc \ + @PACKAGE_NAME@.pc.in \ + @PACKAGE_NAME@-uninstalled.pc \ + @PACKAGE_NAME@-uninstalled.sh 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)