From: Maxim Mamontov Date: Wed, 6 Apr 2011 12:26:28 +0000 (+0300) Subject: A bit better Makefile X-Git-Tag: 2.407-rc3~74 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/b6dc7c53f5374b1798d74fe752e962266645cca0?ds=sidebyside A bit better Makefile --- diff --git a/doc/xmlrpc-doc/Makefile b/doc/xmlrpc-doc/Makefile index 819e5e99..d7872f18 100644 --- a/doc/xmlrpc-doc/Makefile +++ b/doc/xmlrpc-doc/Makefile @@ -1,7 +1,8 @@ -all: +all: book + xsltproc --stringparam base.dir book/ --xinclude --xincludestyle /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/html/chunk.xsl API.xml + +book: mkdir book - xsltproc --xinclude --xincludestyle /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/html/chunk.xsl API.xml - mv *html book/ clean: - rm -r book + rm book/*