update to 1.1, makefile tweak

This commit is contained in:
Brevven 2020-11-26 12:28:33 -08:00
parent 9258d7f23a
commit 32cb74685f
2 changed files with 5 additions and 5 deletions

View file

@ -1,16 +1,16 @@
.PHONY: copy install
v = bzsilicon_$(shell jq -r .version info.json)
pwd = $(shell pwd)
v = $(shell basename "$(pwd)")_$(shell jq -r .version info.json)
copy:
rm -rf ../$(v)
mkdir -p ../$(v)
cp -rf * ../$(v)
rm -f ../$(v).zip
cd ..; zip -9 -r -y $(v).zip $(v) -x "*.xcf" -x "*.git*"
cd ..; zip -9 -r -y $(v).zip $(v) -x "*.xcf" -x "*.git*" -x "*.bak"
install: copy
cp -f ../$(v).zip ../../mods/