From 3305e2b999bdc31f99ff159219fc6811b1c15585 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Sat, 1 Mar 2014 09:23:37 +0100 Subject: [PATCH] build: Remove GNU-make extensions from doc/Makefile. --- doc/Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 28c3d2c..baf94f3 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -5,14 +5,15 @@ dist_man1_MANS = callcgi.1 dirplex.1 htparser.1 patplex.1 sendfile.1 \ dist_man7_MANS = ashd.7 -%.7 %.1: %.doc +.doc.1: a2x -f manpage $< - -%.html: %.doc +.doc.7: + a2x -f manpage $< +.doc.html: a2x -f xhtml $< manpages: $(dist_man1_MANS) $(dist_man7_MANS) -htmldoc: $(patsubst %.doc, %.html, *.doc) +htmldoc: ${dist_man1_MANS:.1=.html} ${dist_man7_MANS:.7=.html} EXTRA_DIST = *.doc -- 2.11.0