commit 2c8c1bff94124c238ebff3d2929ef2784b8d3dd0 from: Omar Polo date: Sat Dec 17 18:40:01 2022 UTC use an inference rules to generate the HTML version of the man pages commit - fb0a6924c39af7fb02d03272961d56adb4c3e664 commit + 2c8c1bff94124c238ebff3d2929ef2784b8d3dd0 blob - 127de9a6e530a106dd0784cfd00f97fe96a85cbe blob + dcc617fb763343c646bda986410b77921280907e --- Makefile +++ Makefile @@ -38,15 +38,10 @@ install: ${PROGS} lint: man -Tlint -Wstyle -l ${MANS} -plass.1.html: plass.1 - man -Thtml -Ostyle=mandoc.css -l plass.1 > $@ +.SUFFIXES: .1 .1.html +.1.1.html: + man -Thtml -Ostyle=mandoc.css -l $< > $@ -pwg.1.html: pwg.1 - man -Thtml -Ostyle=mandoc.css -l pwg.1 > $@ - -totp.1.html: totp.1 - man -Thtml -Ostyle=mandoc.css -l totp.1 > $@ - mans: plass.1.html pwg.1.html totp.1.html dist: ${DISTNAME}.sha256