]> pere.pagekite.me Git - text-epistlene.git/blobdiff - Makefile
Get partintro adjustment working with current pandoc.
[text-epistlene.git] / Makefile
index d870f5e124f4876ec6ce42e37a06770bfefa5b3c..1bc07617b16751ee7f0280348e521828592f31bd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,12 +20,22 @@ $(SOURCE)-body.xml: $(SOURCE).rst Makefile
        sed -i \
                -e 's%article%book%g' \
                -e 's%<title>[0-9]*</title>%<title></title>%g' \
-               -e 's%^  <blockquote>%  <partintro><blockquote>%g' \
-               -e 's%^  </blockquote>%  </blockquote></partintro>%g' \
+               -e 's%^    <blockquote>%    <partintro><blockquote>%g' \
+               -e 's%^    </blockquote>%    </blockquote></partintro>%g' \
                -e 's%“%<quote>%g' \
                -e 's%”%</quote>%g' $@
 
 .xml.epub:
        dbtoepub -s epub.xsl $^ -o $@
 
+.xml.html:
+       xmlto html-nochunks $^
+
+clean:
+       $(RM) *~
+
+distclean: clean
+       $(RM) gaysir_epistlene.epub gaysir_epistlene.pdf
+       $(RM) gaysir_epistlene-body.xml
+
 .SUFFIXES: .xml .html .pdf .epub