X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e2791d9aef50f35848ab391454048b3e01e1907b..687631532197750696d35aa12c40406b04fb878d:/doc/xmlrpc-doc/Makefile

diff --git a/doc/xmlrpc-doc/Makefile b/doc/xmlrpc-doc/Makefile
index 098896c7..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/xsl-stylesheets/html/chunk.xsl API.xml
-	mv *html book/
 
 clean:
-	rm -r book
+	rm book/*