X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=e6172ac54a7a8bc5b8c170999df400a236d9e023;hb=848a79e1f55802822901c15d526ec8094b60a6e3;hp=fc740f5f6844e22d5b3e3a57d0630bd47ed461d2;hpb=59069fe1e13ab05004fff6c161c02f0527a9e45a;p=shibboleth%2Fsp.git diff --git a/Makefile.am b/Makefile.am index fc740f5..e6172ac 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,32 +1,58 @@ -## $Id$ - AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I . -EXTRA_DIST = \ - schemas/cs-sstc-schema-assertion-01.xsd \ - schemas/cs-sstc-schema-protocol-01.xsd \ - schemas/soap-envelope.xsd \ - schemas/xmldsig-core-schema.xsd \ - schemas/xmldsig-filter2.xsd \ - schemas/xml.xsd \ - schemas/shibboleth.xsd \ - schemas/eduPerson.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 \ - libtool.m4 acx_pthread.m4 acx_rpctest.m4 - -SUBDIRS = @WANT_SUBDIRS@ +include doxygen.am + +MOSTLYCLEANFILES = $(DX_CLEANFILES) + +WANT_SUBDIRS = @WANT_SUBDIRS@ + +SUBDIRS = $(WANT_SUBDIRS) + +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: - cp ../*.txt ../*.html $(distdir) + 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