|
@@ -20,6 +20,7 @@ CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/stats_httpd_messages.py
|
|
|
CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/stats_httpd_messages.pyc
|
|
|
|
|
|
man_MANS = b10-stats.8 b10-stats-httpd.8
|
|
|
+CLEANFILES += $(man_MANS)
|
|
|
EXTRA_DIST = $(man_MANS) b10-stats.xml b10-stats-httpd.xml
|
|
|
EXTRA_DIST += stats.spec stats-httpd.spec
|
|
|
EXTRA_DIST += stats-httpd-xml.tpl stats-httpd-xsd.tpl stats-httpd-xsl.tpl
|
|
@@ -33,6 +34,12 @@ b10-stats.8: b10-stats.xml
|
|
|
b10-stats-httpd.8: b10-stats-httpd.xml
|
|
|
xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-stats-httpd.xml
|
|
|
|
|
|
+else
|
|
|
+
|
|
|
+$(man_MANS):
|
|
|
+ @echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
|
|
|
+ @echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild BIND 10 > $@
|
|
|
+
|
|
|
endif
|
|
|
|
|
|
$(PYTHON_LOGMSGPKG_DIR)/work/stats_messages.py : stats_messages.mes
|