summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-08 09:58:25 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-08 09:58:25 +0000
commit990b57c13c15b497a8e721d6ebb6ba443d55fa47 (patch)
tree0e43ee439d18c8d19f401da5163e3d32893192d8 /Makefile
parent41af29bedd67d1a5509f8afcefd903c02f2689e3 (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files 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 $(<F)
+ cd $(@D); $(ASCIIDOC) -o $(@F) -n -a toc $(<F)
devices:
ifndef DYNFS