summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--README2
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 61ed9e0..a8b5b23 100644
--- a/Makefile
+++ b/Makefile
@@ -382,7 +382,8 @@ tonezones.txt: zonedata.c
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 " $$_" }' \
- $< >$@
+ $< \
+ | perl -p -e 'if (/^ #?(\w+)=/ && ! exists $$cfgs{$$1}){my $$cfg = $$1; $$cfgs{$$cfg} = 1; s/^/\n[[cfg_$$cfg]]\n/}' >$@
README.html: README zaptel.conf.asciidoc tonezones.txt
$(ASCIIDOC) -n -a toc -a toclevels=3 $<
diff --git a/README b/README
index c5063ac..5113c21 100644
--- a/README
+++ b/README
@@ -556,6 +556,8 @@ Both channels and spans are identified by enumerating numbers (beginning
with 1). The number of the channel is the lowest unused one when it is
generated, and ditto for spans.
+See also <<cfg_span,the span configuration directive>>.
+
PROCFS Interface: /proc/zaptel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~