summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRobey Pointer <robey@lag.net>2006-09-12 00:31:53 -0700
committerRobey Pointer <robey@lag.net>2006-09-12 00:31:53 -0700
commit6e49ddbc44ec56de06c1a4d93acb2f429a494394 (patch)
treee6c3a2e6bad01a14d891268ed44c3f0e4181269f /Makefile
parenta4f09c31ed85be9f419461d6192a1b0db3c30839 (diff)
[project @ robey@lag.net-20060912073153-4d8c5623d4c2aa7b]
merge patches from wouter van heyst and john arbash-meinel for fixing tarballs on os x, and fixing md5 on linux
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ac94abc7..e5311f29 100644
--- a/Makefile
+++ b/Makefile
@@ -24,12 +24,19 @@
# weedle (16aug06) - 1.6.2
+ifeq ($(wildcard /sbin/md5),/sbin/md5)
+# os x
+MD5SUM := /sbin/md5
+else
+MD5SUM := md5sum
+endif
+
release: docs
python ./setup.py sdist --formats=zip
python ./setup.py sdist --formats=gztar
python ./setup.py bdist_egg
zip -r dist/docs.zip docs && rm -rf docs
- cd dist && md5 paramiko*.zip *.gz > md5-sums
+ cd dist && $(MD5SUM) paramiko*.zip *.gz > md5-sums
docs: always