From 6a50d79523cf215001cdd55c74c040bd410775df Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Sun, 6 Apr 2014 19:32:58 -0400 Subject: stuff --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3d20bb2..c606599 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ null := SPACE := $(null) $(null) -all: js json video audio images +all: html js json video audio images Makefile: Makefile.inc @@ -12,6 +12,14 @@ include Makefile.inc UGLIFYJS := node_modules/.bin/uglifyjs $(UGLIFYJSFLAGS) +# === HTML === + +html: www/index.html + +www/index.html: www/index.html.dist + $(if $(DEBUG), sed -e 's:$(subst www/,,$(JSOUT)):$(subst $(SPACE),">