summaryrefslogtreecommitdiffabout
path: root/Makefile
authorMichael Krelin <hacker@klever.net>2012-12-08 21:19:17 (UTC)
committer Michael Krelin <hacker@klever.net>2012-12-11 21:59:29 (UTC)
commit8808689fe340bec6e90ab13dd502292b0579cf1f (patch) (side-by-side diff)
tree45b7c863151341f687b74e40bffcbd7ab5468783 /Makefile
parent6e7e413ca364d79673e523c09767c18e7cff1bec (diff)
downloadpumpkin-osx/0.0.zip
pumpkin-osx/0.0.tar.gz
pumpkin-osx/0.0.tar.bz2
initial osx portosx/0.0
Signed-off-by: Michael Krelin <hacker@klever.net>
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