From: Jari Aalto Date: Thu, 18 Oct 2007 18:35:12 +0000 (+0300) Subject: Makefile: add ASCIIDOC_FLAGS X-Git-Tag: tig-0.10~21 X-Git-Url: https://git.distorted.org.uk/~mdw/tig/commitdiff_plain/3e8b133e061f5093163a0672c3fd22e8ebfd198d Makefile: add ASCIIDOC_FLAGS ... so that under Cygwin it can be set to --unsafe, in order for asciidoc to work. Signed-off-by: Jari Aalto Signed-off-by: Jonas Fonseca --- diff --git a/Makefile b/Makefile index c8580bf..1801bb5 100644 --- a/Makefile +++ b/Makefile @@ -153,34 +153,34 @@ manual.toc: manual.txt esac; done | sed 's/\[\[\(.*\)\]\]/\1/' > $@ README.html: README - $(ASCIIDOC) -b xhtml11 -d article -a readme $< + $(ASCIIDOC) $(ASCIIDOC_FLAGS) -b xhtml11 -d article -a readme $< %.pdf : %.xml $(DOCBOOK2PDF) $< %.1.html : %.1.txt - $(ASCIIDOC) -b xhtml11 -d manpage $< + $(ASCIIDOC) $(ASCIIDOC_FLAGS) -b xhtml11 -d manpage $< %.1.xml : %.1.txt - $(ASCIIDOC) -b docbook -d manpage -aversion=$(VERSION) $< + $(ASCIIDOC) $(ASCIIDOC_FLAGS) -b docbook -d manpage -aversion=$(VERSION) $< %.1 : %.1.xml $(XMLTO) -m manpage.xsl man $< %.5.html : %.5.txt - $(ASCIIDOC) -b xhtml11 -d manpage $< + $(ASCIIDOC) $(ASCIIDOC_FLAGS) -b xhtml11 -d manpage $< %.5.xml : %.5.txt - $(ASCIIDOC) -b docbook -d manpage -aversion=$(VERSION) $< + $(ASCIIDOC) $(ASCIIDOC_FLAGS) -b docbook -d manpage -aversion=$(VERSION) $< %.5 : %.5.xml $(XMLTO) -m manpage.xsl man $< %.html : %.txt - $(ASCIIDOC) -b xhtml11 -d article -n $< + $(ASCIIDOC) $(ASCIIDOC_FLAGS) -b xhtml11 -d article -n $< %.xml : %.txt - $(ASCIIDOC) -b docbook -d article $< + $(ASCIIDOC) $(ASCIIDOC_FLAGS) -b docbook -d article $< %.html-chunked : %.xml $(XMLTO) html -o $@ $<