aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: a36e9de4845a73c67675c27bcc64e0e662776bb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
forge: .version.ha .templates.ha *.ha
	hare build $(HAREFLAGS) -o $@ .

.templates.ha: templates/*.htmpl
	htmplgen -o $@ $^

.version.ha:
	printf 'def VERSION="%s";\n' $(shell git describe --tags --always --dirty) > $@

.PHONY: version.ha