X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=3d9bdc8d093615dd11c371eb34e0e891b2a3f5c9;hb=35b1befa20799c3bed9cbe996bfca2553c82cd2d;hp=7fd7ef70e9d88d5a480671966be63191c67fbb84;hpb=992371762c03048877552ffe5f8f25190287c5ed;p=shibboleth%2Fsp.git diff --git a/Makefile.am b/Makefile.am index 7fd7ef7..3d9bdc8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,32 +2,37 @@ AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I . -EXTRA_DIST = \ - isapi_shib isapi_shib_gui \ - Shibboleth.sln libtool.m4 acx_pthread.m4 depcomp \ - config_win32.h shibboleth.spec.in shibboleth.spec pkginfo.in pkginfo checkinstall +include doxygen.am -dist-hook: - rm -rf `find $(distdir)/configs -name Makefile` +MOSTLYCLEANFILES = $(DX_CLEANFILES) WANT_SUBDIRS = @WANT_SUBDIRS@ SUBDIRS = $(WANT_SUBDIRS) -DIST_SUBDIRS = doc schemas configs shibsp shibd adfs util apache nsapi_shib odbc-store selinux - -all-local: shibboleth.spec pkginfo +DIST_SUBDIRS = doc schemas configs shibsp shibd adfs util apache nsapi_shib fastcgi odbc-store memcache-store selinux -shibboleth.spec: shibboleth.spec.in Makefile - rm -f $@.tmp - sed < $< > $@.tmp \ - -e 's:@-VERSION-@:${VERSION}:' - mv $@.tmp $@ +if DX_COND_doc +all-local: doxygen-doc +else +all-local: +endif -pkginfo: pkginfo.in Makefile - rm -f $@.tmp - sed < $< > $@.tmp \ - -e 's:@-VERSION-@:${VERSION}:' - mv $@.tmp $@ - -DISTCLEANFILES = shibboleth.spec pkginfo +dist-hook: + rm -rf `find $(distdir)/isapi_shib -name .svn` + rm -rf `find $(distdir)/doc/api -name .svn` + +GENFILES = @PACKAGE_NAME@.spec pkginfo Portfile + +EXTRA_DIST = $(DX_CONFIG) \ + isapi_shib \ + Shibboleth.sln \ + libtool.m4 \ + doxygen.m4 \ + acx_pthread.m4 \ + depcomp \ + config_win32.h \ + $(GENFILES) \ + $(GENFILES:%=%.in) \ + depend \ + postinstall