--- a/libkwave/Makefile.am
+++ b/libkwave/Makefile.am
@@ -5,3 +5,5 @@
 
 DISTCLEANFILES = *~
 
+release: distclean
+	cd .. ; tar -cvzf libkwave-`cat libkwave/VERSION`.tar.gz libkwave/