summaryrefslogtreecommitdiffabout
path: root/Makefile
Side-by-side diff
Diffstat (limited to 'Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile18
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 @@
+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