build: Cosmetic fixes for release targets
authorEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 5 Apr 2011 10:24:03 +0000 (11:24 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 5 Apr 2011 10:24:03 +0000 (11:24 +0100)
• Use $(SED) and $(GREP) consistently
• Do not point to the template README.in
• Eliminate the '===' separator in the NEWS extractor
• List all download URIs for the tarballs

build/autotools/Makefile.am.release

index aface74..e763ae6 100644 (file)
@@ -88,7 +88,8 @@ release-message:
        @echo ""
        @echo "A new Clutter $(CLUTTER_RELEASE_STATUS) is now available at:"
        @echo ""
-       @echo "  $(RELEASE_URL)/$(tar_file)"
+       @echo "  http://source.clutter-project.org/sources/clutter/$(CLUTTER_MAJOR_VERSION).$(CLUTTER_MINOR_VERSION)/"
+       @echo "  http://download.gnome.org/sources/clutter/$(CLUTTER_MAJOR_VERSION).$(CLUTTER_MINOR_VERSION)/"
        @echo ""
        @echo "SHA256 Checksum:"
        @echo ""
@@ -98,7 +99,7 @@ release-message:
        @echo "  git clone git://git.gnome.org/clutter"
        @echo ""
        @echo "will include a signed $(CLUTTER_VERSION) tag which points to a commit named:"
-       @echo "  `git cat-file tag $(CLUTTER_VERSION) | grep ^object | sed -e 's,object ,,'`"
+       @echo "  `git cat-file tag $(CLUTTER_VERSION) | $(GREP) ^object | $(SED) -e 's,object ,,'`"
        @echo ""
        @echo "which can be verified with:"
        @echo "  git verify-tag $(CLUTTER_VERSION)"
@@ -120,8 +121,7 @@ release-message:
        @echo "  GLX, WGL, Quartz, or an EGL implementation"
        @echo ""
        @echo "Clutter also has platform-specific dependencies; for more information, see"
-       @echo "the README file at:"
-       @echo "  http://git.gnome.org/browse/clutter/tree/README.in"
+       @echo "the README file included in the release."
        @echo ""
        @echo "Documentation:"
        @echo "   Clutter: $(RELEASE_DOCS_URL)/clutter/$(CLUTTER_MAJOR_VERSION).$(CLUTTER_MINOR_VERSION)/"
@@ -137,7 +137,7 @@ release-message:
        @echo "  - Bugs should be reported on the Clutter Bugzilla product, at:"
        @echo "    http://bugzilla.gnome.org/enter_bug.cgi?product=clutter"
        @echo ""
-       @$(SED) -n '1bend;/^Clutter /q;:end;2,$$p' $(top_srcdir)/NEWS
+       @$(SED) -n '1bend;/^Clutter /q;:end;2,$$p' $(top_srcdir)/NEWS | $(GREP) -v '^======'
        @echo ""
        @echo "Have fun with Clutter!"
        @echo "--- CUT HERE ---"