X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=e6172ac54a7a8bc5b8c170999df400a236d9e023;hb=0885337fca37124736b954f29b22566ac136821b;hp=fea6bc7f1061619d257d8c3ff51b0e1d415f99c6;hpb=d9f88f7d3a30ed226ea48e42be8d0b2eb1974ebc;p=shibboleth%2Fsp.git diff --git a/Makefile.am b/Makefile.am index fea6bc7..e6172ac 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,27 +2,57 @@ AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I . -EXTRA_DIST = \ - schemas doc isapi_shib \ - Shibboleth.dsw libtool.m4 acx_pthread.m4 acx_rpctest.m4 \ - posttest/posttest.dsp \ - shibtest/shibtest.dsp +include doxygen.am -dist-hook: - rm -rf `find $(distdir)/schemas -name CVS` - rm -rf `find $(distdir)/schemas -name Makefile` - rm -rf `find $(distdir)/configs -name CVS` - rm -rf `find $(distdir)/configs -name Makefile` - rm -rf `find $(distdir)/doc -name CVS` - rm -rf `find $(distdir)/doc -name Makefile` - rm -rf `find $(distdir)/isapi_shib -name CVS` - -install-exec-hook: - rm -f $(DESTDIR)$(libdir)/*.la +MOSTLYCLEANFILES = $(DX_CLEANFILES) WANT_SUBDIRS = @WANT_SUBDIRS@ SUBDIRS = $(WANT_SUBDIRS) -DIST_SUBDIRS = doc oncrpc shib schemas configs shib-target shar test \ - apache siterefresh shib-mysql-ccache xmlproviders +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