]> git.stg.codes - stg.git/blobdiff - doc/xmlrpc-doc/Makefile
Fix tariff field name in XML-RPC API documentation (tariff -> name)
[stg.git] / doc / xmlrpc-doc / Makefile
index 098896c7963ae2d79410e1b5e49d848ef39ea44c..d7872f18f58ce4a388b03e6587f2d8f3580f6cdd 100644 (file)
@@ -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
        mkdir book
-       xsltproc --xinclude --xincludestyle /usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl API.xml
-       mv *html book/
 
 clean:
 
 clean:
-       rm -r book
+       rm book/*