Commit 4376e889 authored by Linus Nordberg's avatar Linus Nordberg
Browse files

Fix the html target.

List the three .html files.
Add targets for building .html from .1 and .5.
parent 404c2f37
...@@ -12,7 +12,6 @@ endif ...@@ -12,7 +12,6 @@ endif
SUBDIRS = tests SUBDIRS = tests
sbin_PROGRAMS = radsecproxy sbin_PROGRAMS = radsecproxy
bin_PROGRAMS = radsecproxy-conf $(fticks_programs) bin_PROGRAMS = radsecproxy-conf $(fticks_programs)
noinst_LIBRARIES = librsp.a noinst_LIBRARIES = librsp.a
...@@ -67,10 +66,12 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-fticks ...@@ -67,10 +66,12 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-fticks
radsecproxy.conf.5: $(srcdir)/radsecproxy.conf.5.xml radsecproxy.conf.5: $(srcdir)/radsecproxy.conf.5.xml
docbook2x-man $< docbook2x-man $<
# Build HTML version of radsecproxy.conf.5. NOTE: Only tested with html: radsecproxy.html radsecproxy-hash.html radsecproxy.conf.html
# 'openjade' package installed on Ubuntu 9.10.
html: $(srcdir)/radsecproxy.conf.5.xml %.html: %.1
-openjade -E2000 -t sgml-raw -d /usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl -o radsecproxy.conf.html $< groff -mandoc -Thtml $< >$@
%.html: %.5
groff -mandoc -Thtml $< >$@
clean-local: clean-local:
-rm $(GENMANPAGES) -rm $(GENMANPAGES)
Supports Markdown
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