]> git.stg.codes - stg.git/blobdiff - doc/xmlrpc-doc/Makefile
A bit better Makefile
[stg.git] / doc / xmlrpc-doc / Makefile
index 819e5e99375cdd3e88a72390b13c32a9afd7eea7..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
-       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/*