[svn-commits] tzafrir: branch 1.4 r4232 - in /branches/1.4: Makefile README

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat May 3 14:19:07 CDT 2008


Author: tzafrir
Date: Sat May  3 14:19:06 2008
New Revision: 4232

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4232
Log:
Docuemnt the tonezones we currently have.

Modified:
    branches/1.4/Makefile
    branches/1.4/README

Modified: branches/1.4/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.4/Makefile?view=diff&rev=4232&r1=4231&r2=4232
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Sat May  3 14:19:06 2008
@@ -373,12 +373,18 @@
 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

Modified: branches/1.4/README
URL: http://svn.digium.com/view/zaptel/branches/1.4/README?view=diff&rev=4232&r1=4231&r2=4232
==============================================================================
--- branches/1.4/README (original)
+++ branches/1.4/README Sat May  3 14:19:06 2008
@@ -413,6 +413,13 @@
 -----------------------
 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
 -------------------




More information about the svn-commits mailing list