]> git.stg.codes - stg.git/commitdiff
A bit better Makefile
authorMaxim Mamontov <faust@gts.dp.ua>
Wed, 6 Apr 2011 12:26:28 +0000 (15:26 +0300)
committerMaxim Mamontov <faust@gts.dp.ua>
Wed, 6 Apr 2011 12:26:28 +0000 (15:26 +0300)
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
        mkdir book
-       xsltproc --xinclude --xincludestyle /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/html/chunk.xsl API.xml
-       mv *html book/
 
 clean:
 
 clean:
-       rm -r book
+       rm book/*