18 lines
379 B
Makefile
18 lines
379 B
Makefile
|
.PHONY: all package clean
|
||
|
|
||
|
JS_LIB = $(wildcard js-lib/* js-lib/**/*)
|
||
|
IMG = $(wildcard images/*)
|
||
|
|
||
|
all: js-compiled.js
|
||
|
|
||
|
js-compiled.js: $(JS_LIB) jquery-3.1-externs.js
|
||
|
./compile.sh
|
||
|
|
||
|
package: release.tar.xz
|
||
|
|
||
|
release.tar.xz: js-compiled.js index.html $(IMG) addtohomescreen.css addtohomescreen.min.js jquery-3.1.1.min.js
|
||
|
tar czvf $@ $^
|
||
|
|
||
|
clean:
|
||
|
$(RM) js-compiled.js release.tar.xz
|