Skip to content
Browse files

Makefile can build index.html too

  • Loading branch information...
1 parent aaad1c0 commit fcfc0eb38d1decd7d8ae7506c360b2dfa0632c12 @rtomayko rtomayko committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 Makefile
View
5 Makefile
@@ -1,7 +1,7 @@
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
PROGRAMS = shocco
-DOCS = shocco.html
+DOCS = shocco.html index.html
BROWSER = $(shell command -v xdg-open open firefox | head -1)
default: sup shocco shocco.html
@@ -16,6 +16,9 @@ shocco: shocco.sh
shocco.html: shocco
/bin/sh shocco shocco.sh > shocco.html
+index.html: shocco.html
+ cp -p shocco.html index.html
+
install: shocco
install -m 0755 shocco $(BINDIR)/shocco

0 comments on commit fcfc0eb

Please sign in to comment.
Something went wrong with that request. Please try again.