blob: d213abdc27d0a8384af6fa5658818543cbc15567 [file] [log] [blame]
VERSION=$(shell cat emscripten-version.txt | sed s/\"//g)
DESTDIR=../emscripten-$(VERSION)
DISTFILE=emscripten-$(VERSION).tar.bz2
dist: $(DISTFILE)
install:
@rm -rf $(DESTDIR)
./tools/install.py $(DESTDIR)
# Create an distributable archive of emscripten suitable for use
# by end users. This archive excludes parts of the codebase that
# are you only used by emscripten developers.
$(DISTFILE): install
tar cf $@ $(EXCLUDE_PATTERN) -C `dirname $(DESTDIR)` `basename $(DESTDIR)`
.PHONY: dist install