X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=2f06a8db8c24fff8cdf15a281ea11286bca6063e;hb=refs%2Fheads%2Fupstream%2Ftags%2F1.2.1;hp=9cfcebbef268d0598aac92ce4920c8cb293acb35;hpb=46d246601bf9c241d32574bf743dc38fdaaee88c;p=shibboleth%2Fxmltooling.git diff --git a/Makefile.am b/Makefile.am index 9cfcebb..2f06a8d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,38 +6,30 @@ 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` + rm -rf `find $(distdir)/doc/api -name .svn` -SUBDIRS = schemas xmltooling xmltoolingtest +SUBDIRS = doc schemas xmltooling xmltoolingtest -all-local: xmltooling.spec pkginfo doxygen-doc +if DX_COND_doc +all-local: doxygen-doc +else +all-local: +endif -xmltooling.spec: xmltooling.spec.in Makefile - rm -f $@.tmp - sed < $< > $@.tmp \ - -e 's:@-VERSION-@:${VERSION}:' - mv $@.tmp $@ +GENFILES = xmltooling.spec pkginfo Portfile -pkginfo: pkginfo.in Makefile - rm -f $@.tmp - sed < $< > $@.tmp \ - -e 's:@-VERSION-@:${VERSION}:' - mv $@.tmp $@ - -DISTCLEANFILES = xmltooling.spec pkginfo +EXTRA_DIST = $(DX_CONFIG) \ + cpp-xmltooling.sln \ + acx_pthread.m4 \ + acinclude.m4 \ + libtool.m4 \ + doxygen.m4 \ + depcomp \ + config_win32.h \ + $(GENFILES) \ + $(GENFILES:%=%.in) \ + depend \ + postinstall