summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/Makefile8
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
 
705f4f5a7a&follow=1'>Start xcompmgrJune McEnroe 2013-04-06Drop pacman-color, regular pacman now has colorJune McEnroe 2013-04-06Restore wallpaper automaticallyJune McEnroe 2013-03-22Simplify autostartJune McEnroe 2013-02-24Default to Ruby 2.0June McEnroe 2013-01-26Make pretty riplrcJune McEnroe 2013-01-26Default to awesome sessionJune McEnroe 2013-01-26Add git promptJune McEnroe 2013-01-26Actually port awesome config to 3.5June McEnroe 2013-01-26Make pretty zshrcJune McEnroe 2013-01-26Port awesome config to 3.5June McEnroe 2013-01-26Replace RVM with chrubyJune McEnroe