From e250b987e90ae0aa867f3846abe02ddf6eec976e Mon Sep 17 00:00:00 2001 From: Justin Karneges Date: Wed, 30 Jan 2013 18:04:45 -0800 Subject: set DEBUG = false when minimizing --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0767e67..d970841 100644 --- a/Makefile +++ b/Makefile @@ -13,4 +13,5 @@ polldance-$(VERSION).js: polldance.js cp polldance.js polldance-$(VERSION).js polldance-$(VERSION).min.js: polldance-$(VERSION).js - ./compile.py polldance-$(VERSION).js > polldance-$(VERSION).min.js + sed -e "s/DEBUG = true/DEBUG = false/g" polldance-$(VERSION).js | ./compile.py > polldance-$(VERSION).min.js.tmp + mv polldance-$(VERSION).min.js.tmp polldance-$(VERSION).min.js -- cgit v1.2.3