X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=e6172ac54a7a8bc5b8c170999df400a236d9e023;hb=bdbf27d150b92c16119a413abaad5294c800f4de;hp=6d1536d70bdf21314ad161c2512411b89d7a8aaa;hpb=8d832cb7a64d4358f86e59ae236cd88300c7fd20;p=shibboleth%2Fsp.git diff --git a/Makefile.am b/Makefile.am index 6d1536d..e6172ac 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,67 +2,57 @@ AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I . -EXTRA_DIST = \ - schemas/cs-sstc-schema-assertion-01.xsd \ - schemas/cs-sstc-schema-protocol-01.xsd \ - schemas/cs-sstc-schema-assertion-1.1.xsd \ - schemas/cs-sstc-schema-protocol-1.1.xsd \ - schemas/soap-envelope.xsd \ - schemas/xmldsig-core-schema.xsd \ - schemas/xmldsig-filter2.xsd \ - schemas/xml.xsd \ - schemas/shibboleth.xsd \ - configs/accessError.html \ - configs/shar.logger \ - configs/shireError.html \ - configs/apache.config \ - configs/shibboleth.ini \ - configs/ca-bundle.crt \ - configs/shibboleth.logger \ - configs/rmError.html \ - configs/shire.logger \ - configs/AAP.xml \ - doc/CREDITS.txt \ - doc/INSTALL.txt \ - doc/INSTALL-WIN32.txt \ - doc/LICENSE.txt \ - doc/NEWS.txt \ - doc/README.txt \ - doc/OPENSSL.LICENSE \ - doc/LOG4CPP.LICENSE \ - doc/CURL.LICENSE \ - doc/InQueue.html \ - doc/DEPLOY-GUIDE-ORIGIN.html \ - doc/DEPLOY-GUIDE-TARGET.html \ - Shibboleth.dsw \ - isapi_shib/isapi_shib.dsp \ - isapi_shib/isapi_shib.cpp \ - isapi_shib/cgiparse.h \ - isapi_shib/cgiparse.c \ - mod_shibrm/mod_shibrm.dsp \ - mod_shire/mod_shire.dsp \ - oncrpc/oncrpc.def \ - oncrpc/oncrpc.dsp \ - oncrpc/oncrpc.rc \ - oncrpc/resource.h \ - posttest/posttest.dsp \ - shar/shar.dsp \ - shar/shar_win32.cpp \ - shar/testclient.dsp \ - shib/shib.dsp \ - shib/shib-threads-win32.cpp \ - shib-mysql-ccache/shib_mysql_ccache.dsp \ - shib-target/shibtarget.dsp \ - shibtest/shibtest.dsp \ - siterefresh/siterefresh.dsp \ - libtool.m4 \ - acx_pthread.m4 \ - acx_rpctest.m4 +include doxygen.am + +MOSTLYCLEANFILES = $(DX_CLEANFILES) WANT_SUBDIRS = @WANT_SUBDIRS@ SUBDIRS = $(WANT_SUBDIRS) -DIST_SUBDIRS = doc oncrpc shib schemas configs shib-target shar test \ - mod_shire mod_shibrm siterefresh shib-mysql-ccache isapi_shib +DIST_SUBDIRS = doc schemas configs shibsp shibd adfs util apache nsapi_shib fastcgi odbc-store selinux + +if DX_COND_doc +all-local: shibboleth.spec pkginfo doxygen-doc +APIDOCS = doc/api +else +all-local: shibboleth.spec pkginfo +endif + +install-data-hook: + rm -rf $(DESTDIR)$(datadir)/doc/@PACKAGE@/api + cp -r doc/api $(DESTDIR)$(datadir)/doc/@PACKAGE@ + +dist-hook: + rm -rf `find $(distdir)/isapi_shib -name .svn` + rm -rf `find $(distdir)/doc/api -name .svn` + +shibboleth.spec: shibboleth.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 $@ + +EXTRA_DIST = $(DX_CONFIG) \ + $(APIDOCS) \ + isapi_shib \ + Shibboleth.sln \ + libtool.m4 \ + doxygen.m4 \ + acx_pthread.m4 \ + depcomp \ + config_win32.h \ + shibboleth.spec.in \ + shibboleth.spec \ + pkginfo.in \ + pkginfo \ + depend \ + postinstall +DISTCLEANFILES = shibboleth.spec pkginfo