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
commit802e545dad58f8b961995d9cd41bb27fad9c0b87 (patch)
treed7855d00f3749dcd8710dac755daf9d719a90c7a
parente3084009aa8e771fd6262dfd1be4962436256487 (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 86bdd54e..6b66546c 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`