X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=d5ae1590ec3bf30daea981b88842c5ea8d6437b7;hb=c62bb24a583037905779e6e85b2e71b7b5501969;hp=dbdc10c9c92ca62a97653543d75838d03beed843;hpb=e60b92691db6e619e379a404cfabc93d49a4a3d4;p=shibboleth%2Fcpp-opensaml.git diff --git a/Makefile.am b/Makefile.am index dbdc10c..d5ae159 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,5 @@ AUTOMAKE_OPTIONS = foreign - -ACLOCAL_AMFLAGS = -I . +ACLOCAL_AMFLAGS = -I m4 include doxygen.am @@ -8,45 +7,25 @@ MOSTLYCLEANFILES = $(DX_CLEANFILES) dist-hook: rm -rf `find $(distdir)/samltest/data -name .svn` + rm -rf `find $(distdir)/doc/api -name .svn` 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)$(datadir)/doc/@PACKAGE@/api - cp -r doc/api $(DESTDIR)$(datadir)/doc/@PACKAGE@ - -opensaml.spec: opensaml.spec.in Makefile - rm -f $@.tmp - sed < $< > $@.tmp \ - -e 's:@-VERSION-@:${VERSION}:' - mv $@.tmp $@ +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = @PACKAGE_NAME@.pc -pkginfo: pkginfo.in Makefile - rm -f $@.tmp - sed < $< > $@.tmp \ - -e 's:@-VERSION-@:${VERSION}:' - mv $@.tmp $@ +GENFILES = @PACKAGE_NAME@.spec pkginfo Portfile 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) \ + postinstall