Make distribution archive

This commit is contained in:
Mark Hills 2012-06-01 12:54:49 +01:00
parent d820604658
commit 0b92faf7f6
1 changed files with 7 additions and 0 deletions

View File

@ -3,7 +3,14 @@
CFLAGS += -Wall
LDLIBS += -lm
.PHONY: clean dist
bpm: bpm.o
clean:
rm -f bpm *.o
dist:
mkdir -p dist
V=$$(git describe) && git archive --prefix=bpm-tools-$$V/ HEAD \
| gzip > dist/bpm-tools-$$V.tar.gz