+# This is laternate version of above, that does handle command line options,
+# ie DOC_STATUS.
+dok-man-test: ensure-dkprefix ensure-jadebin dok-release
+ cd $(DOC_TMP) && $(RM) * &&\
+ nsgmls $(DOC_STATUS) ../privoxy-man-page.sgml | sgmlspl `find /usr/share/sgml -name docbook2man-spec.pl` &&\
+ perl -pi.bak -e 's/ <URL:.*>//; s/\[ /\[/g' privoxy.1
+ cd $(DOC_TMP) && $(DB) ../privoxy-man-page.sgml &&\
+ $(MV) -f index.html privoxy-man-page.html
+ # This html is not used. See make man2html.
+ $(MV) -f $(DOC_TMP)/privoxy.1 $(ROOT)/privoxy.1
+ $(MAKE) man2html
+ $(MAKE) clean
+