summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b28e54e..64e6cbe 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,10 @@ all: keytrans
keytrans:
$(MAKE) -C src/keytrans
+release: clean
+ tar c COPYING doc etc Makefile man src | gzip -n > ../monkeysphere_`head -n1 debian/changelog | sed 's/.*(\([^-]*\)-.*/\1/'`.orig.tar.gz
+
clean:
$(MAKE) -C src/keytrans clean
-.PHONY: all clean
+.PHONY: all clean release