X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/39cb1ca522c4da2341852b5f9c1bda183080cc38..9be9056b5ebc906d9e64ed164552c730dbe333a6:/doc/xmlrpc-doc/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/*