2022-09-18 11:34:55 +02:00
|
|
|
.PHONY: all
|
|
|
|
|
2023-02-18 13:26:33 +01:00
|
|
|
BUILD_VERSION:=$(shell git describe --tags)
|
2022-09-18 11:34:55 +02:00
|
|
|
|
2023-02-18 13:26:33 +01:00
|
|
|
all: malloc-data-$(BUILD_VERSION).zip malloc-data-$(BUILD_VERSION).zip.sha1
|
2022-09-18 11:34:55 +02:00
|
|
|
|
2023-02-18 13:26:33 +01: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 11:34:55 +02:00
|
|
|
sha1sum $< > $@
|