* 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.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2008-11-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ 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.
+
2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix portability issues in distcleancheck_listfiles doc example.
* 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
* 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 autotools-announce@gnu.org, and
automake@gnu.org. If not an alpha, announcement must also go to
- info-gnu@gnu.org.
+ info-gnu@gnu.org. 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
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 \
*) 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.
fi
git-dist: maintainer-check
- @if (clcommit --version)>/dev/null 2>/dev/null; then :; else \
- echo "Get clcommit from module cvs-utils on Savannah."; \
- exit 1; \
- fi
@if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
echo "NEWS not updated; not releasing" 1>&2; \
exit 1; \
fi
- $(MAKE) distcheck
- cd $(srcdir) && clcommit && \
- git tag -s `echo "Release-$(VERSION)" | sed 's/\./-/g'`
+ $(MAKE) $(AM_MAKEFLAGS) distcheck
+ cd $(srcdir) && git commit -a -s && \
+ git tag -s "v$(VERSION)" -m "Release $(VERSION)"
git-release: git-dist
case $(VERSION) in \
*) 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
path-check: distdir