From 990b57c13c15b497a8e721d6ebb6ba443d55fa47 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Sat, 8 Sep 2007 09:58:25 +0000 Subject: Allow overriding the asciidoc command. This allows using asciidoc < 7. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2997 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2a19499..bee2217 100644 --- a/Makefile +++ b/Makefile @@ -210,6 +210,8 @@ BINS+=zttool endif MAN_PAGES = $(wildcard $(BINS:%=doc/%.8)) +ASCIIDOC := asciidoc + all: programs modules programs: utils libs @@ -358,10 +360,10 @@ stackcheck: checkstack all ./checkstack *.ko */*.ko README.html: README - asciidoc -n -a toc $< + $(ASCIIDOC) -n -a toc $< xpp/README.Astribank.html: xpp/README.Astribank - cd $(@D); asciidoc -o $(@F) -n -a toc $(