X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=Makefile.am;h=2a2d0141e846ed2c9c1b43e3610a4b32d54ca9f2;hp=6a184b13a566ba52393f36c698fcf99b74df3a43;hb=ce68a2ed8f2183cb6a0338d29776eeee0fb139b6;hpb=5262f59d5b476683a193fb19fed29144e0fcddc1 diff --git a/Makefile.am b/Makefile.am index 6a184b1..2a2d014 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,52 +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` - +DISTCLEANFILES = \ + @PACKAGE_NAME@.pc \ + @PACKAGE_NAME@.pc.in \ + @PACKAGE_NAME@-uninstalled.pc \ + @PACKAGE_NAME@-uninstalled.sh -SUBDIRS = doc schemas saml samltest +SUBDIRS = doc schemas saml samltest samlsign if DX_COND_doc -all-local: opensaml.spec pkginfo doxygen-doc -APIDOCS = doc/api +all-local: doxygen-doc else -all-local: opensaml.spec pkginfo +all-local: endif -install-data-hook: - rm -rf $(DESTDIR)$(prefix)/doc/@PACKAGE@/api - cp -r doc/api $(DESTDIR)$(prefix)/doc/@PACKAGE@ +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = @PACKAGE_NAME@.pc -opensaml.spec: opensaml.spec.in Makefile - rm -f $@.tmp - sed < $< > $@.tmp \ - -e 's:@-VERSION-@:${VERSION}:' - mv $@.tmp $@ - -pkginfo: pkginfo.in Makefile - rm -f $@.tmp - sed < $< > $@.tmp \ - -e 's:@-VERSION-@:${VERSION}:' - mv $@.tmp $@ +GENFILES = @PACKAGE_NAME@.spec EXTRA_DIST = $(DX_CONFIG) \ - $(APIDOCS) \ cpp-opensaml2.sln \ - libtool.m4 \ - doxygen.m4 \ - acx_pthread.m4 \ - depcomp \ config_win32.h \ - opensaml.spec.in \ - opensaml.spec \ - pkginfo.in \ - pkginfo \ - checkinstall - -DISTCLEANFILES = opensaml.spec pkginfo + $(GENFILES) \ + $(GENFILES:%=%.in)