Skip to content

Commit

Permalink
Makefile can build index.html too
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomayko committed Mar 10, 2010
1 parent aaad1c0 commit fcfc0eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 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
Expand All @@ -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

Expand Down

0 comments on commit fcfc0eb

Please sign in to comment.