]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] build a text version of the guide
authorJeremy C. Reed <jreed@ISC.org>
Thu, 13 Oct 2011 14:10:35 +0000 (09:10 -0500)
committerJeremy C. Reed <jreed@ISC.org>
Thu, 13 Oct 2011 14:10:35 +0000 (09:10 -0500)
This was brought up at ISC All-Hands.

This will be included in the tarball.

For now this will be included in the repo too
(a different commit will add it).

I am using elinks for now. Note for now nothing in make forces it
to be rebuilt, so no tool is needed for this.

doc/guide/Makefile.am

index c84ad06a35141571ef3e4c8b6466656c04fed9ae..aaf896048c5ee33df478ed54063ae3f0d625d49b 100644 (file)
@@ -1,7 +1,12 @@
 EXTRA_DIST = bind10-guide.css
-EXTRA_DIST += bind10-guide.xml bind10-guide.html
+EXTRA_DIST += bind10-guide.xml bind10-guide.html bind10-guide.txt
 EXTRA_DIST += bind10-messages.xml bind10-messages.html
 
+HTML2TXT ?= elinks -dump -no-numbering -no-references
+
+bind10-guide.txt: bind10-guide.html
+       $(HTML2TXT) $(srcdir)/bind10-guide.html > $@
+
 # This is not a "man" manual, but reuse this for now for docbook.
 if ENABLE_MAN