diff options
author | Linus Nordberg <linus@nordu.net> | 2016-03-09 12:12:03 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-03-11 16:19:21 +0100 |
commit | 4376e889bf502c472af0cd1e785f98b3c660a8f4 (patch) | |
tree | 2dea4cdf20a73d0cb324cc8f89910d7cdba205a6 /Makefile.am | |
parent | 404c2f37c4b19c2b6d79b4e2b0ac1c9fb5a7d089 (diff) |
Fix the html target.
List the three .html files.
Add targets for building .html from .1 and .5.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index 0cb8516..1d10e30 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,7 +12,6 @@ endif SUBDIRS = tests - sbin_PROGRAMS = radsecproxy bin_PROGRAMS = radsecproxy-conf $(fticks_programs) noinst_LIBRARIES = librsp.a @@ -67,10 +66,12 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-fticks radsecproxy.conf.5: $(srcdir)/radsecproxy.conf.5.xml docbook2x-man $< -# Build HTML version of radsecproxy.conf.5. NOTE: Only tested with -# 'openjade' package installed on Ubuntu 9.10. -html: $(srcdir)/radsecproxy.conf.5.xml - -openjade -E2000 -t sgml-raw -d /usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl -o radsecproxy.conf.html $< +html: radsecproxy.html radsecproxy-hash.html radsecproxy.conf.html + +%.html: %.1 + groff -mandoc -Thtml $< >$@ +%.html: %.5 + groff -mandoc -Thtml $< >$@ clean-local: -rm $(GENMANPAGES) |