summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-08 11:48:51 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-08 11:48:51 +0000
commit0f037adc226298d4936c13e810919aa31aa665ed (patch)
tree7b7b5f5d3ca3c17519b9cd26266b9f29be1f5ccd /Makefile
parent77d4e30e83958f97ecd58e9a5c67280cc72114b0 (diff)
Allow overriding the asciidoc command. This allows using asciidoc < 7.
Merged revisions 2997 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2998 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 18dced2..1affe79 100644
--- a/Makefile
+++ b/Makefile
@@ -239,6 +239,7 @@ MOD_DIR:=$(DESTDIR)/lib/modules/$(KVERS)/misc
UTILS = tor2ee zttool zttest ztmonitor ztspeed sethdlc-new ztcfg \
ztcfg-dude usbfxstest fxstest fxotune ztdiag torisatool
+
# Makefile mentions them. Source is not included (anynore?)
UTILS += fxsdump ztprovision
@@ -252,6 +253,8 @@ BINS:=fxotune fxstest sethdlc-new ztcfg ztdiag ztmonitor ztspeed zttest zttool
BINS:=$(filter-out $(MENUSELECT_UTILS),$(BINS))
MAN_PAGES:=$(wildcard $(BINS:%=doc/%.8))
+ASCIIDOC := asciidoc
+
all: menuselect.makeopts
@$(MAKE) _all
@@ -404,10 +407,10 @@ stackcheck: checkstack modules
./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)
MISDNVERSION=1_1_3
MISDNUSERVERSION=1_1_3