aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: f05326aad13c63b85846b1f179e3a127857ce86f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
VERSION = 1.0.1

all: dist

distclean:
	rm -f pollymer-$(VERSION).js pollymer-$(VERSION).min.js

clean:

dist: pollymer-$(VERSION).min.js

pollymer-$(VERSION).js: pollymer.js
	cp pollymer.js pollymer-$(VERSION).js

pollymer-$(VERSION).min.js: pollymer-$(VERSION).js
	sed -e "s/DEBUG = true/DEBUG = false/g" pollymer-$(VERSION).js | ./compile.py > pollymer-$(VERSION).min.js.tmp
	mv pollymer-$(VERSION).min.js.tmp pollymer-$(VERSION).min.js