]> pere.pagekite.me Git - text-free-culture-lessig.git/blobdiff - Makefile
Remove cruft.
[text-free-culture-lessig.git] / Makefile
index 135757ce5362ac8774a030c03c169d214684cce8..345b194d1495e10b45f141ea899a41c64a37d4fa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,12 +17,6 @@ DBLATEX = dblatex \
        -p data/pdf.xsl \
        --param=lingua=nb
 
-# HTML rule
-XP = xsltproc \
-       --nonet \
-       --novalid \
-       --xinclude data/html.xsl
-
 DBTOEPUB = dbtoepub
 
 all: lint lint.nb epub pdf
@@ -41,7 +35,7 @@ html: freeculture.html freeculture.nb.html
        $(DBLATEX) $^ --param=lingua=nb
 
 %.html: %.xml
-       $(XP) $^ && mv index.html $@
+       xmlto html-nochunks $^
 
 %.epub: %.xml
        $(DBTOEPUB) $^