summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--README7
2 files changed, 14 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c7444c3..622e980 100644
--- a/Makefile
+++ b/Makefile
@@ -373,12 +373,18 @@ fxsdump: LDLIBS+=-lm
stackcheck: checkstack modules
./checkstack kernel/*.ko kernel/*/*.ko
+
+tonezones.txt: zonedata.c
+ perl -ne 'next unless (/\.(country|description) = *"([^"]*)/); \
+ print (($$1 eq "country")? "* $$2\t":"$$2\n");' $< \
+ >$@
+
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
+README.html: README zaptel.conf.asciidoc tonezones.txt
$(ASCIIDOC) -n -a toc -a toclevels=3 $<
kernel/xpp/README.Astribank.html: kernel/xpp/README.Astribank
diff --git a/README b/README
index ed4f3ed..da07d7a 100644
--- a/README
+++ b/README
@@ -413,6 +413,13 @@ Reference Configuration
-----------------------
include::zaptel.conf.asciidoc[]
+Tonezones
+~~~~~~~~~
+The file zonedata.c contains the information about the tone zones used
+in libtonezone (and hence also in ztcfg). Here is a list of those zones:
+
+include::tonezones.txt[]
+
Zaptel PERL modules
-------------------