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
commitd75d3d2b443281fecc1009e4e1632239523f93c2 (patch)
treefdda544d9d9385481fd713f288cbebb79890b0ec
parentaa06acaf0bbb9c3ac6438ac64cf8a9ca47ada159 (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`