]> pere.pagekite.me Git - text-free-culture-lessig.git/commitdiff
Fix HTML building rule to one that actually work.
authorPetter Reinholdtsen <pere@hungry.com>
Thu, 26 Jul 2012 22:13:54 +0000 (00:13 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Thu, 26 Jul 2012 22:13:54 +0000 (00:13 +0200)
Makefile
README.md

index 135757ce5362ac8774a030c03c169d214684cce8..c67cd8fc4e2cf32a30e7c8d98658387a34e3bd37 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ html: freeculture.html freeculture.nb.html
        $(DBLATEX) $^ --param=lingua=nb
 
 %.html: %.xml
        $(DBLATEX) $^ --param=lingua=nb
 
 %.html: %.xml
-       $(XP) $^ && mv index.html $@
+       xmlto html-nochunks $^
 
 %.epub: %.xml
        $(DBTOEPUB) $^
 
 %.epub: %.xml
        $(DBTOEPUB) $^
index a81e699a92aa13a76fd70d21c3a9f56ba49a2440..1d3da7e65eebe03ebeebfd0f61d695c7882661f0 100644 (file)
--- a/README.md
+++ b/README.md
@@ -51,6 +51,7 @@ packages are needed:
   dbtoepub
   libxml2-utils
   gnuplot
   dbtoepub
   libxml2-utils
   gnuplot
+  xmlto
 
 When the build requirements are in place, the PDF and EPUB version of
 the book can be build by running 'make' on the command line.
 
 When the build requirements are in place, the PDF and EPUB version of
 the book can be build by running 'make' on the command line.