[cairo-commit] build/Makefile.am.releasing
Behdad Esfahbod
behdad at kemper.freedesktop.org
Mon Oct 6 13:52:04 PDT 2008
build/Makefile.am.releasing | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
New commits:
commit 5beae8f530fe7056fa965cb5ca7b345a667e8122
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Mon Oct 6 12:43:42 2008 -0400
[Makefile.am.releasing] Make 'make snapshot' print a banner when done
Copied from "make distcheck" implementation. Prints something like:
=============================================================
cairo-1.8.1-20081006-38de89 archives ready for distribution:
cairo-1.8.1-20081006-38de89.tar.gz
=============================================================
diff --git a/build/Makefile.am.releasing b/build/Makefile.am.releasing
index bd47cc1..cb9a90c 100644
--- a/build/Makefile.am.releasing
+++ b/build/Makefile.am.releasing
@@ -20,7 +20,12 @@ dist-clear-sticky-bits:
snapshot:
distdir="$(distdir)-`date '+%Y%m%d'`"; \
test -d "$(srcdir)/.git" && distdir=$$distdir-`cd "$(srcdir)" && git-rev-parse HEAD | cut -c 1-6`; \
- TAR_OPTIONS="$(TAR_OPTIONS)" $(MAKE) $(AM_MAKEFLAGS) distdir="$$distdir" dist
+ TAR_OPTIONS="$(TAR_OPTIONS)" $(MAKE) $(AM_MAKEFLAGS) distdir="$$distdir" snapshot-dist
+
+snapshot-dist: dist
+ @(echo "$(distdir) archives ready for distribution: "; \
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
RELEASE_OR_SNAPSHOT = $$(if test "x$(CAIRO_VERSION_MINOR)" = "x$$(echo "$(CAIRO_VERSION_MINOR)/2*2" | bc)" ; then echo release; else echo snapshot; fi)
RELEASE_UPLOAD_HOST = cairographics.org
@@ -176,4 +181,6 @@ endif
release-verify-newer \
release-verify-sane-changelogs \
release-verify-sane-tests \
+ snapshot \
+ snapshot-dist \
$(NULL)
More information about the cairo-commit
mailing list