0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-31 11:54:03 -05:00
Squire/Makefile
Neil Jenkins fe6ffb0ed5 Add IE10 compatibility.
* All UA detection moved into a separate file.
2012-11-12 18:30:40 +11:00

18 lines
No EOL
417 B
Makefile

.PHONY: build clean
clean:
rm -rf build
build: build/ie8.js build/squire.js build/document.html
build/ie8.js: source/ie8types.js source/ie8dom.js source/ie8range.js
mkdir -p $(@D)
cat $^ | uglifyjs > $@
build/squire.js: source/UA.js source/TreeWalker.js source/Node.js source/Range.js source/Editor.js
mkdir -p $(@D)
cat $^ | uglifyjs > $@
build/document.html: source/document.html
mkdir -p $(@D)
cp $^ $@