ktweak/Makefile
Tyler Nijmeh 57ee0fd5a8 Update Makefile to pre-clean and exclude CONTRIBUTING.md
Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
2020-08-05 12:19:42 -07:00

12 lines
296 B
Makefile

# Written by Draco (tytydraco @ GitHub)
HASH := $(shell git rev-parse --short HEAD)
VERSION := $(shell cat module.prop | grep version= | sed "s/version=//")
zip:
make clean || true
zip -x .git\* Makefile README.md CONTRIBUTING.md -r9 ktweak-$(VERSION)_$(HASH).zip .
clean:
rm *.zip || true