Fri, 23 Jan 2026 21:48:23 +0300
yes
| 0 | 1 | DIST= dist |
| 2 | ||
| 3 | .PHONY: all clean | |
| 4 | ||
| 5 | all: $(DIST)/ssh.html $(DIST)/irc.html $(DIST)/index.html $(DIST)/email.html $(DIST)/style.css $(DIST)/scheme.css $(DIST)/changelog.html | |
| 6 | ||
| 7 | $(DIST): | |
| 8 | mkdir -p $(DIST) | |
| 9 | ||
| 10 | $(DIST)/index.html: index.1 style.css $(DIST) | |
| 11 | cp index.1 $(DIST)/index.1 | |
| 12 | mandoc -Thtml -Ostyle=style.css index.1 > $@ | |
| 13 | ||
| 14 | $(DIST)/email.html: email.7 style.css $(DIST) | |
| 15 | mandoc -Thtml -Ostyle=style.css email.7 > $@ | |
| 16 | cp email.7 $(DIST)/email.7 | |
| 17 | cp "ssh@keys" $(DIST)/ | |
| 18 | cp minisign*.pub $(DIST) | |
| 19 | ||
| 20 | $(DIST)/changelog.html: changelog.7 style.css $(DIST) | |
| 21 | mandoc -Thtml -Ostyle=style.css changelog.7 > $@ | |
| 22 | cp changelog.7 $(DIST)/changelog.7 | |
| 23 | ||
| 24 | $(DIST)/irc.html: irc.7 style.css $(DIST) | |
| 25 | mandoc -Thtml -Ostyle=style.css irc.7 > $@ | |
| 26 | cp irc.7 $(DIST)/irc.7 | |
| 27 | ||
| 28 | $(DIST)/ssh.html: ssh.7 style.css $(DIST) | |
| 29 | mandoc -Thtml -Ostyle=style.css ssh.7 > $@ | |
| 30 | cp ssh.7 $(DIST)/ssh.7 | |
| 31 | ||
| 32 | $(DIST)/style.css: style.css $(DIST) | |
| 33 | cp style.css $@ | |
| 34 | ||
| 35 | $(DIST)/scheme.css: scheme.css $(DIST) | |
| 36 | cp scheme.css $@ | |
| 37 | ||
| 38 | clean: | |
| 39 | rm -rf $(DIST) |