X-Git-Url: https://git.yukkurigames.com/?p=pwl6.git;a=blobdiff_plain;f=Makefile;h=408a9c275594d5be858d6545f3e4ec6c86a1689b;hp=3753998346de5de24fd88bcf82b7a7a5ed1cd291;hb=9fe418a7251d2e4de5f17657ca3c62cb5d6eba9f;hpb=8354e48119b6dbc7d242eb6b94593b8f72250cdc diff --git a/Makefile b/Makefile index 3753998..408a9c2 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ #!/usr/bin/make -f node-webkit-version := 0.10.4 +all: .DELETE_ON_ERROR: include rules/programs.mk @@ -15,7 +16,7 @@ include rules/pngcrush.mk APPLICATION := pwl6 DISTDIR := build/dist VERSION := $(call git-describe) -DISTROOT := $(DISTDIR)/$(APPLICATION)-$(VERSION) +DISTROOT := $(DISTDIR)/$(APPLICATION)_$(VERSION) FIND_FILES := -type f ! -name '.*' FIND_JS := -type f -name '*.js' @@ -96,6 +97,6 @@ $(DISTROOT).bare.zip: | .git %.nw: %.bare.zip tools/generate-nw $(RM) -r $@ $@.tmp $(UNZIP) -d $@.tmp $< - tools/generate-nw $@.tmp + tools/generate-nw $@.tmp `echo $(*F) | sed -E 's/.+_[^0-9]+//'` cd $@.tmp && $(ZIP) -r ../$(@F) . $(RM) -r $@.tmp