[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fixup release rules.
From: |
Ralf Wildenhues |
Subject: |
Fixup release rules. |
Date: |
Sat, 29 Nov 2008 11:10:05 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
I'm pushing this patch to fix up the release rules, master and
branch-1-10.
Cheers,
Ralf
Fixup release rules.
* Makefile.am (cvs-diff): Remove.
(git-dist): Do not use clcommit any more. Use new-style tag
name. Pass $(AM_MAKEFLAGS) to $(MAKE).
(git-diff): Adjust.
(git-release): Do not upload to sources.redhat.com.
diff --git a/HACKING b/HACKING
index 5df650e..307e36a 100644
--- a/HACKING
+++ b/HACKING
@@ -146,8 +146,6 @@
* Run `make release-stats' if release statistics in doc/automake.texi
have not been updated yet.
-* NOTE: the next step has not been tested yet with git, so be careful.
-
* Run `make git-release'.
This will run distcheck to create the tarballs, commit the last
NEWS/configure.ac/ChangeLog changes, tag the repository, sign
@@ -158,13 +156,37 @@
* Update version number in configure.ac to next alpha number.
Re-run ./bootstrap and commit.
+* Don't forget to `git push' your changes so they appear in the public
+ git tree.
+
+* Update the web pages at sources.redhat.com:
+ - bump version in index.rst,
+ - add entry to news.rst,
+ - run `make' to update .html files,
+ - create manuals:
+ cd doc
+ make pdf
+ make html MAKEINFOFLAGS=--no-split
+ - copy automake.html and automake.pdf to web cvs,
+ - add ChangeLog entry and commit.
+
+* Update the manuals at www.gnu.org:
+ - Generate manuals:
+ cd doc
+ wget
"http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/texinfo/texinfo/util/gendocs.sh"
+ wget
"http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/texinfo/texinfo/util/gendocs_template"
+ sh ./gendocs.sh automake "GNU Automake"
+ - copy manuals recursively to web cvs,
+ - commit.
+
* Send announcement at least to address@hidden, and
address@hidden If not an alpha, announcement must also go to
- address@hidden
+ address@hidden Copy this announcement into the NEWS feed at
+ <https://savannah.gnu.org/projects/automake>.
-----
-Copyright (C) 2003, 2007 Free Software Foundation, Inc.
+Copyright (C) 2003, 2007, 2008 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/Makefile.am b/Makefile.am
index 55e1a66..d637e10 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -336,23 +336,18 @@ maintainer-check: automake aclocal
git-dist: maintainer-check
-## Make sure clcommit exists (we use it at the end of git-dist).
- @if (clcommit --version)>/dev/null 2>/dev/null; then :; else \
- echo "Get clcommit from module cvs-utils on Savannah."; \
- exit 1; \
- fi
## Make sure the NEWS file is up-to-date.
@if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :;
else \
echo "NEWS not updated; not releasing" 1>&2; \
exit 1; \
fi
## Build the distribution
- $(MAKE) distcheck
+ $(MAKE) $(AM_MAKEFLAGS) distcheck
## Finally, if anything was successful, commit the last changes and tag
## the release in the repository. We don't use RCS keywords so it's OK
## to distribute the files before they were committed.
- cd $(srcdir) && clcommit && \
- git tag -s `echo "Release-$(VERSION)" | sed 's/\./-/g'`
+ cd $(srcdir) && git commit -a -s && \
+ git tag -s "v$(VERSION)" -m "Release $(VERSION)"
git-release: git-dist
case $(VERSION) in \
@@ -360,25 +355,15 @@ git-release: git-dist
*) dest=ftp;; \
esac; \
$(srcdir)/lib/gnupload $(GNUPLOADFLAGS) \
- --to sources.redhat.com:~ftp/pub/automake \
--to $$dest.gnu.org:automake $(DIST_ARCHIVES)
-cvs-diff:
- thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
- if test -z "$$OLDVERSION"; then \
- prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
- else prevno="$$OLDVERSION"; fi; \
- prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
- cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
- > $(PACKAGE)-$$prevno-$(VERSION).diff
-
git-diff:
- thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
+ thisver="v$(VERSION)"; \
if test -z "$$OLDVERSION"; then \
prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
else prevno="$$OLDVERSION"; fi; \
- prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
- git diff $$prevver $$thisver $(PACKAGE) \
+ prevver=v$$prevno; \
+ git diff $$prevver..$$thisver $(PACKAGE) \
> $(PACKAGE)-$$prevno-$(VERSION).diff
## Check our path lengths.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fixup release rules.,
Ralf Wildenhues <=