]> git.dolda2000.com Git - ashd.git/commitdiff
build: Remove GNU-make extensions from doc/Makefile.
authorFredrik Tolf <fredrik@dolda2000.com>
Sat, 1 Mar 2014 08:23:37 +0000 (09:23 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Sat, 1 Mar 2014 08:23:37 +0000 (09:23 +0100)
doc/Makefile.am

index 28c3d2cb12600701361d8797ac314a53c6e5c994..baf94f3b7cf3a30b96a7e995094f193ed1850d79 100644 (file)
@@ -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