summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-03-09 09:51:48 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-03-09 09:51:48 +0000
commit7658e26389c6584b93e9eb395a08cd40b0743329 (patch)
tree381505c6d9ff27dda65a4983c1f54b16575e9289 /Makefile
parent1291d89565ebc44ecc7eca1b263b274506b23eac (diff)
Integrating sample / reference configuration file into the reference
documentation. Merged revisions 3968 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3969 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7b9301b..259fa36 100644
--- a/Makefile
+++ b/Makefile
@@ -343,7 +343,12 @@ fxsdump: LDLIBS+=-lm
stackcheck: checkstack modules
./checkstack kernel/*.ko kernel/*/*.ko
-README.html: README
+zaptel.conf.asciidoc: zaptel.conf.sample
+ perl -n -e \
+ 'if (/^#($$|\s)(.*)/){ if (!$$in_doc){print "\n"}; $$in_doc=1; print "$$2\n" } else { if ($$in_doc){print "\n"}; $$in_doc=0; print " $$_" }' \
+ $< >$@
+
+README.html: README zaptel.conf.asciidoc
$(ASCIIDOC) -n -a toc -a toclevels=3 $<
kernel/xpp/README.Astribank.html: kernel/xpp/README.Astribank
@@ -563,7 +568,7 @@ clean:
rm -f ztcfg-shared fxstest
rm -rf misdn*
rm -rf mISDNuser*
- rm -rf README.html xpp/README.Astribank.html
+ rm -rf README.html xpp/README.Astribank.html zaptel.conf.asciidoc
distclean: dist-clean