X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=25be0004b3b4af9efcb248b7baf183c0b7372bc5;hb=a02692eb00da7fd3bb014a0a4f8c76cb7ca6dae1;hp=9cfcebbef268d0598aac92ce4920c8cb293acb35;hpb=46d246601bf9c241d32574bf743dc38fdaaee88c;p=shibboleth%2Fxmltooling.git diff --git a/Makefile.am b/Makefile.am index 9cfcebb..25be000 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,27 +6,22 @@ include doxygen.am MOSTLYCLEANFILES = $(DX_CLEANFILES) -EXTRA_DIST = $(DX_CONFIG) \ - doc \ - schemas \ - cpp-xmltooling.sln \ - libtool.m4 \ - acx_pthread.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` -SUBDIRS = schemas xmltooling xmltoolingtest +SUBDIRS = doc 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 @@ -40,4 +35,19 @@ 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 \ + checkinstall + DISTCLEANFILES = xmltooling.spec pkginfo