X-Git-Url: https://pere.pagekite.me/gitweb/text-epistlene.git/blobdiff_plain/dbb5e7444232fbbc0af613ad6d4fdc8f81525b8b..cfb6105008850bb54b03bd070f924913524b9e93:/Makefile diff --git a/Makefile b/Makefile index b72943a..1ef9f6a 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ $(SOURCE).pdf: $(SOURCE).xml Makefile pdf.xsl $(SOURCE)-body.xml: $(SOURCE).rst Makefile pandoc -s -o $@ $(PANDOC_OPTS) $(SOURCE).rst sed -i \ + -e 's%article%book%g' \ -e 's%
%%g' \ @@ -27,4 +28,14 @@ $(SOURCE)-body.xml: $(SOURCE).rst Makefile .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 %g' \ -e 's%^%