]> pere.pagekite.me Git - text-free-culture-lessig.git/blobdiff - Makefile
Fix HTML building rule to one that actually work.
[text-free-culture-lessig.git] / Makefile
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) $^