summaryrefslogtreecommitdiff
path: root/Makefile
blob: c0eb6b52a3f63d6bef06dd49213d3500bfa8545c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PACKAGE := shave
VERSION := $(shell git describe --abbrev=0)

all: dist

clean: distclean

dist:
	git archive --format=tar --prefix=$(PACKAGE)-$(VERSION)/ HEAD \
	  | bzip2 -f > $(PACKAGE)-$(VERSION).tar.bz2

distclean:
	rm -f $(PACKAGE)-*.tar.bz2

.PHONY: all clean dist distclean