update to 1.1, makefile tweak
This commit is contained in:
parent
9258d7f23a
commit
32cb74685f
2 changed files with 5 additions and 5 deletions
6
Makefile
6
Makefile
|
|
@ -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/
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue