diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2021-09-21 11:04:40 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2021-09-21 11:04:40 +0000 |
commit | a5e1a034e691202a980020e40a4fc20bf2f589f6 (patch) | |
tree | 7a642cdae885e0eda903af4ba1798bff76f8cfce /Makefile | |
parent | e1c48511475c952480e1a36b10bcfd0eea0e3939 (diff) | |
download | mandoc-a5e1a034e691202a980020e40a4fc20bf2f589f6.tar.gz |
POSIX make(1) does not support prerequisites on suffix rules.
For HTML generation, the "mandoc" prerequisite isn't needed anyway
because ${WWW_MANS} already explicitly depends on mandoc.
Issue reported by Sevan Janiyan and Leah Neukirchen.
This is not critical for release because it is only used for
a maintainer target. While here, i also fixed the associated
shell command to use the freshly built mandoc binary rather
than whatever may be in the $PATH.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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' \ $< > $@ |