X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=a0ff2d6ace3aa15d71a3fa7352efc1b608d2a69a;hb=02559f727995a3958936106a80c54a4b0a723f21;hp=6a184b13a566ba52393f36c698fcf99b74df3a43;hpb=5262f59d5b476683a193fb19fed29144e0fcddc1;p=shibboleth%2Fcpp-opensaml.git diff --git a/Makefile.am b/Makefile.am index 6a184b1..a0ff2d6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,45 +8,30 @@ 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 +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 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) \ + depend \ + postinstall