-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..77d7afc --- a/dev/null +++ b/Makefile | |||
@@ -0,0 +1,18 @@ | |||
1 | VERSION=0.0 | ||
2 | KIN=pumpkin | ||
3 | PACKAGE=${KIN}-${VERSION} | ||
4 | TARNAME=${PACKAGE}-osx | ||
5 | TARS=$(addprefix ${TARNAME}.tar.,gz bz2) ${TARNAME}.tar | ||
6 | |||
7 | dist: ${TARS} | ||
8 | clean: | ||
9 | rm -f ${TARS} | ||
10 | |||
11 | ${TARNAME}.tar.gz: ${TARNAME}.tar | ||
12 | gzip -v9 <"$<" >"$@" | ||
13 | ${TARNAME}.tar.bz2: ${TARNAME}.tar | ||
14 | bzip2 -v9 <"$<" >"$@" | ||
15 | ${TARNAME}.tar: | ||
16 | git archive --format tar -o "$@" --prefix="${PACKAGE}/" HEAD | ||
17 | |||
18 | .INTERMEDIATE: ${TARNAME}.tar | ||