summaryrefslogtreecommitdiffabout
path: root/Makefile
blob: 77d7afce9a888b61db118acfe3f5466128b0641d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
VERSION=0.0
KIN=pumpkin
PACKAGE=${KIN}-${VERSION}
TARNAME=${PACKAGE}-osx
TARS=$(addprefix ${TARNAME}.tar.,gz bz2) ${TARNAME}.tar

dist: ${TARS}
clean:
	rm -f ${TARS}

${TARNAME}.tar.gz: ${TARNAME}.tar
	gzip -v9 <"$<" >"$@"
${TARNAME}.tar.bz2: ${TARNAME}.tar
	bzip2 -v9 <"$<" >"$@"
${TARNAME}.tar:
	git archive --format tar -o "$@" --prefix="${PACKAGE}/" HEAD

.INTERMEDIATE: ${TARNAME}.tar