aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJustin Karneges <justin@affinix.com>2013-01-30 18:04:45 -0800
committerJustin Karneges <justin@affinix.com>2013-01-30 18:04:45 -0800
commite250b987e90ae0aa867f3846abe02ddf6eec976e (patch)
treee7ae81d6158df74478c66b0ac0a506492ef3d42a /Makefile
parentc75ea0700ef944957051114cb347f8090249268d (diff)
downloadpollymer-e250b987e90ae0aa867f3846abe02ddf6eec976e.tar
pollymer-e250b987e90ae0aa867f3846abe02ddf6eec976e.tar.gz
set DEBUG = false when minimizing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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