diff options
Diffstat (limited to '')
-rw-r--r-- | bin/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/Makefile b/bin/Makefile index ff41e6a1..9fa34ce9 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -19,6 +19,7 @@ BINS += pngo BINS += psf2png BINS += scheme BINS += ttpre +BINS += up BINS += wake BINS += xx @@ -106,6 +107,13 @@ $(HTMLS): ttpre hi man -P cat ./man1/$(<:%.c=%.1) | ./ttpre >> $@ ./hi -f html -o inline,tab=4 $< >> $@ +.sh.html: + @echo '<!DOCTYPE html>' > $@ + @echo '<title>$(<:%.sh=%)</title>' >> $@ + @echo '<code><a href="$(GITEA_URL)/$<">$< in git</a></code>' >> $@ + man -P cat ./man1/$(<:%.sh=%.1) | ./ttpre >> $@ + ./hi -f html -o inline,tab=4 $< >> $@ + clean: rm -f $(BINS_ALL) $(LINKS) tags scheme.h scheme.png *.o *.html |