2022-09-18 09:34:55 +00:00
|
|
|
.PHONY: all
|
|
|
|
|
2023-02-18 12:26:33 +00:00
|
|
|
BUILD_VERSION:=$(shell git describe --tags)
|
2022-09-18 09:34:55 +00:00
|
|
|
|
2023-02-18 12:26:33 +00:00
|
|
|
all: malloc-data-$(BUILD_VERSION).zip malloc-data-$(BUILD_VERSION).zip.sha1
|
2022-09-18 09:34:55 +00:00
|
|
|
|
2023-02-18 12:26:33 +00:00
|
|
|
malloc-data-$(BUILD_VERSION).zip: pack.mcmeta
|
|
|
|
zip -r $@ pack.mcmeta data
|
|
|
|
|
|
|
|
malloc-data-$(BUILD_VERSION).zip.sha1: malloc-data-$(BUILD_VERSION).zip
|
2022-09-18 09:34:55 +00:00
|
|
|
sha1sum $< > $@
|