Commit 5f9a52ab authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

[master] put the text file generation within ENABLE_MAN conditional

The FreeBSD distcheck failed during uninstall time as it attempted to
regenerate the file. Its dependency was from the same second.

Running make with debugging showed:

Examining bind10-guide.txt...non-existent...modified before source (../../../doc
/guide/bind10-guide.html)...out-of-date.
parent a6646243
...@@ -2,11 +2,6 @@ EXTRA_DIST = bind10-guide.css ...@@ -2,11 +2,6 @@ EXTRA_DIST = bind10-guide.css
EXTRA_DIST += bind10-guide.xml bind10-guide.html bind10-guide.txt EXTRA_DIST += bind10-guide.xml bind10-guide.html bind10-guide.txt
EXTRA_DIST += bind10-messages.xml bind10-messages.html 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. # This is not a "man" manual, but reuse this for now for docbook.
if ENABLE_MAN if ENABLE_MAN
...@@ -20,6 +15,11 @@ bind10-guide.html: bind10-guide.xml ...@@ -20,6 +15,11 @@ bind10-guide.html: bind10-guide.xml
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \
$(srcdir)/bind10-guide.xml $(srcdir)/bind10-guide.xml
HTML2TXT = elinks -dump -no-numbering -no-references
bind10-guide.txt: bind10-guide.html
$(HTML2TXT) $(srcdir)/bind10-guide.html > $@
bind10-messages.html: bind10-messages.xml bind10-messages.html: bind10-messages.xml
xsltproc --novalid --xinclude --nonet \ xsltproc --novalid --xinclude --nonet \
--path $(top_builddir)/doc \ --path $(top_builddir)/doc \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment