From 4376e889bf502c472af0cd1e785f98b3c660a8f4 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 9 Mar 2016 12:12:03 +0100 Subject: Fix the html target. List the three .html files. Add targets for building .html from .1 and .5. --- Makefile.am | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Makefile.am') 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) -- cgit v1.1