summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-03-05 09:51:04 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-03-05 09:51:04 +0000
commitf81160b56f2fe6db816e4b437daa7ed199bedd65 (patch)
tree8471b36b3ddfb0138a7a21cd74479c9394bfce1d
parentd6c65684e17baa68a5bc3856c8896ed170ccf5cb (diff)
add release targetBRANCH-GSTREAMER-0_6
Original commit message from CVS: add release target
-rw-r--r--Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 86bdd54e3..6b66546cf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,6 +27,20 @@ EXTRA_DIST=gst-plugins.spec depcomp \
AUTHORS COPYING README RELEASE REQUIREMENTS \
ChangeLog autogen.sh common m4
+# to do a release, run "make release"
+# this will generate all archives and md5sums
+
+# make bz2 as well
+AUTOMAKE_OPTIONS = dist-bzip2
+
+release: dist
+ make @PACKAGE@-@VERSION@.tar.gz.md5
+ make @PACKAGE@-@VERSION@.tar.bz2.md5
+
+# generate md5 sum files
+%.md5: %
+ md5sum $< > $@
+
dist-hook:
rm -rf `find $(distdir)/common -name CVS`
rm -rf `find $(distdir)/m4 -name CVS`