malloc-datapack/Makefile

12 lines
299 B
Makefile

.PHONY: all
BUILD_VERSION:=$(shell git describe --tags)
all: malloc-data-$(BUILD_VERSION).zip malloc-data-$(BUILD_VERSION).zip.sha1
malloc-data-$(BUILD_VERSION).zip: pack.mcmeta
zip -r $@ pack.mcmeta data
malloc-data-$(BUILD_VERSION).zip.sha1: malloc-data-$(BUILD_VERSION).zip
sha1sum $< > $@