X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=05bea16a9459165acd307a3cc72670cbd520182f;hb=1b732b61275f68abf70c905fc54a57b729ea95da;hp=61a0c2fb209985ceb21f4af4887eda31c2bc4a02;hpb=48d1a5bf3e632629717c4c74a51dead4699ec6ba;p=shibboleth%2Fxmltooling.git diff --git a/Makefile.am b/Makefile.am index 61a0c2f..05bea16 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,26 +6,23 @@ include doxygen.am MOSTLYCLEANFILES = $(DX_CLEANFILES) -EXTRA_DIST = $(DX_CONFIG) \ - doc \ - schemas \ - cpp-xmltooling.sln \ - libtool.m4 \ - doxygen.m4 \ - depcomp \ - config_win32.h - 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 @@ -39,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