]> git.cameronkatri.com Git - mandoc.git/blobdiff - Makefile
POSIX make(1) does not support prerequisites on suffix rules.
[mandoc.git] / Makefile
index 6871af8d4d9c4d2113b37d5c3a3a4a4d31a2f4ac..48c4741812b62a3be4520d648ea8392a695c5688 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.539 2021/09/20 10:19:51 schwarze Exp $
+# $Id: Makefile,v 1.540 2021/09/21 11:04:40 schwarze Exp $
 #
 # Copyright (c) 2011, 2013-2021 Ingo Schwarze <schwarze@openbsd.org>
 # Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -603,7 +603,7 @@ dist-install: dist
 .h.h.html:
        highlight -I $< > $@
 
-.1.1.html .3.3.html .5.5.html .7.7.html .8.8.html: mandoc
-       mandoc -Thtml -Wwarning,stop \
+.1.1.html .3.3.html .5.5.html .7.7.html .8.8.html:
+       ./mandoc -Thtml -Wwarning,stop \
                -O 'style=/mandoc.css,man=/man/%N.%S.html;https://man.openbsd.org/%N.%S,includes=/includes/%I.html' \
                $< > $@