Migrate from node-webkit to NW.js.
[pwl6.git] / Makefile
index 408a9c2..f2d4697 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,15 @@
 #!/usr/bin/make -f
 
-node-webkit-version := 0.10.4
+nwjs-version := 0.12.0
 all:
+print-%: ; @echo $*=$($*)
 
 .DELETE_ON_ERROR:
 include rules/programs.mk
 include rules/javascript.mk
 include rules/icons.mk
 include rules/git.mk
-include rules/node-webkit.mk
+include rules/nwjs.mk
 include rules/pngcrush.mk
 
 .PHONY: all check distclean lint test dist clean serve
@@ -70,7 +71,7 @@ clean:
 
 distclean: clean
        $(RM) -r node_modules
-       $(RM) $(node-webkit-archives)
+       $(RM) $(nwjs-archives)
 
 $(DISTROOT)-src.zip $(DISTROOT)-src.tar.gz: | .git
        mkdir -p $(@D)
@@ -92,8 +93,8 @@ $(DISTROOT).bare.zip: | .git
        tools/generate-appcache $@.tmp
        mv $@.tmp $@
 
-# Python's zipfile module generates zipfiles that node-webkit cannot
-# read, so delegate to a real zip tool.
+# Python's zipfile module generates zipfiles that NW.js cannot read,
+# so delegate to a real zip tool.
 %.nw: %.bare.zip tools/generate-nw
        $(RM) -r $@ $@.tmp
        $(UNZIP) -d $@.tmp $<