X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fxmltooling.git;a=blobdiff_plain;f=Makefile.am;h=05bea16a9459165acd307a3cc72670cbd520182f;hp=76dd4cfa31c674680cb95b48e9ca1f4ca1d416bf;hb=8695994bc2a4f042049bafd80a9d36a813ec0f7e;hpb=23e2b874dc6bce402a65a276671ebe11180ee61a diff --git a/Makefile.am b/Makefile.am index 76dd4cf..05bea16 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,33 +6,23 @@ include doxygen.am MOSTLYCLEANFILES = $(DX_CLEANFILES) -EXTRA_DIST = $(DX_CONFIG) \ - doc \ - schemas \ - cpp-xmltooling.sln \ - acx_pthread.m4 \ - acinclude.m4 \ - libtool.m4 \ - doxygen.m4 \ - depcomp \ - config_win32.h \ - xmltooling.spec.in \ - xmltooling.spec \ - pkginfo.in \ - pkginfo \ - checkinstall - dist-hook: rm -rf `find $(distdir)/xmltoolingtest/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 = doc schemas xmltooling xmltoolingtest -SUBDIRS = schemas xmltooling xmltoolingtest +if DX_COND_doc +all-local: doxygen-doc xmltooling.spec pkginfo +APIDOCS = doc/api +else +all-local: xmltooling.spec pkginfo +endif -all-local: xmltooling.spec pkginfo doxygen-doc +install-data-hook: + rm -rf $(DESTDIR)/$(datadir)/doc/@PACKAGE@/api + cp -r doc/api $(DESTDIR)/$(datadir)/doc/@PACKAGE@ xmltooling.spec: xmltooling.spec.in Makefile rm -f $@.tmp @@ -46,4 +36,20 @@ pkginfo: pkginfo.in Makefile -e 's:@-VERSION-@:${VERSION}:' mv $@.tmp $@ +EXTRA_DIST = $(DX_CONFIG) \ + $(APIDOCS) \ + cpp-xmltooling.sln \ + acx_pthread.m4 \ + acinclude.m4 \ + libtool.m4 \ + doxygen.m4 \ + depcomp \ + config_win32.h \ + xmltooling.spec.in \ + xmltooling.spec \ + pkginfo.in \ + pkginfo \ + depend \ + postinstall + DISTCLEANFILES = xmltooling.spec pkginfo