X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=84148a01dd722db4ef493e64956b12ceca315d4c;hb=615c4bc8bcbcabce8da0ef95946eaa028c616aa4;hp=3de9c4e1d879a1c059be0133e9690afa118ae243;hpb=d553e621964099119b39a2dd7fe186ea8d5a3f69;p=shibboleth%2Fcpp-opensaml.git diff --git a/Makefile.am b/Makefile.am index 3de9c4e..84148a0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,52 +6,29 @@ include doxygen.am MOSTLYCLEANFILES = $(DX_CLEANFILES) -EXTRA_DIST = $(DX_CONFIG) \ - doc \ - schemas \ - cpp-opensaml2.sln \ - libtool.m4 \ - doxygen.m4 \ - acx_pthread.m4 \ - depcomp \ - config_win32.h \ - opensaml.spec.in \ - opensaml.spec \ - pkginfo.in \ - pkginfo \ - checkinstall - - dist-hook: rm -rf `find $(distdir)/samltest/data -name .svn` - rm -rf `find $(distdir)/schemas -name .svn` - rm -rf `find $(distdir)/schemas -name Makefile` - rm -rf `find $(distdir)/doc -name .svn` - rm -rf `find $(distdir)/doc -name Makefile` - + rm -rf `find $(distdir)/doc/api -name .svn` -SUBDIRS = schemas saml samltest -all-local: opensaml.spec pkginfo +SUBDIRS = doc schemas saml samltest samlsign if DX_COND_doc all-local: doxygen-doc +else +all-local: endif -install-data-hook: - rm -rf $(prefix)/doc/@PACKAGE@/api - cp -r doc/api $(prefix)/doc/@PACKAGE@ +GENFILES = opensaml.spec pkginfo Portfile -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 $@ - -DISTCLEANFILES = opensaml.spec pkginfo +EXTRA_DIST = $(DX_CONFIG) \ + cpp-opensaml2.sln \ + libtool.m4 \ + doxygen.m4 \ + acx_pthread.m4 \ + depcomp \ + config_win32.h \ + $(GENFILES) \ + $(GENFILES:%=%.in) \ + depend \ + postinstall