From fcfc0eb38d1decd7d8ae7506c360b2dfa0632c12 Mon Sep 17 00:00:00 2001 From: Ryan Tomayko Date: Wed, 10 Mar 2010 12:36:51 -0800 Subject: [PATCH] Makefile can build index.html too --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 68f98ce..609a8fa 100644 --- a/Makefile +++ b/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