Update instructions for doing a release. Autogen ChangeLog from git-log.
This commit is contained in:
parent
d3c392b669
commit
2ec3ed0806
21
INSTALL
21
INSTALL
|
@ -13,22 +13,33 @@ important steps:
|
||||||
1. Update the version numbers
|
1. Update the version numbers
|
||||||
configure.in
|
configure.in
|
||||||
fontconfig/fontconfig.h
|
fontconfig/fontconfig.h
|
||||||
|
|
||||||
2. Fix the README
|
2. Fix the README
|
||||||
Change version number
|
Change version number
|
||||||
Set the date
|
Set the date
|
||||||
|
|
||||||
3. Commit those changes
|
3. Commit those changes
|
||||||
|
|
||||||
4. rebuild the configuration files with autogen.sh
|
4. rebuild the configuration files with autogen.sh
|
||||||
sh autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man --localstatedir=/var
|
sh autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man --localstatedir=/var
|
||||||
|
|
||||||
5. make distcheck (NB: won't work without docbook-utils -PL)
|
5. make distcheck (NB: won't work without docbook-utils -PL)
|
||||||
|
|
||||||
6. tag the tree
|
6. tag the tree
|
||||||
cvs tag fc-2_2_xx
|
git-tag -u 096c4dd3 -m'Version 2.3.xx' 2.3.xx
|
||||||
7. Split out the ChangeLog into ChangeLog-2.2.xx with
|
|
||||||
the changes since the previous release
|
7. make Changelog-2.3.xx
|
||||||
8. Copy ChangeLog-2.2.xx and fontconfig-2.2.xx.tar.gz to
|
git-log 2.3.(xx-1).. > ChangeLog-2.3.xx
|
||||||
|
|
||||||
|
8. Copy ChangeLog-2.3.xx and fontconfig-2.2.xx.tar.gz to
|
||||||
|
|
||||||
freedesktop.org:/srv/fontconfig.freedesktop.org/www/release
|
freedesktop.org:/srv/fontconfig.freedesktop.org/www/release
|
||||||
|
|
||||||
9. Update the Fontconfig Devel wiki page
|
9. Update the Fontconfig Devel wiki page
|
||||||
http://fontconfig.org/wiki/Devel
|
http://fontconfig.org/wiki/Devel
|
||||||
|
|
||||||
10. Compute md5sums for release files:
|
10. Compute md5sums for release files:
|
||||||
md5sum fontconfig-2.2.xx.tar.gz ChangeLog-2.2.xx
|
md5sum fontconfig-2.3.xx.tar.gz ChangeLog-2.3.xx
|
||||||
|
|
||||||
11. Post a note to fontconfig@fontconfig.org. Include the md5sums.
|
11. Post a note to fontconfig@fontconfig.org. Include the md5sums.
|
||||||
gpg sign the message.
|
gpg sign the message.
|
||||||
|
|
39
Makefile.am
39
Makefile.am
|
@ -32,6 +32,21 @@ EXTRA_DIST = \
|
||||||
fontconfig.spec.in \
|
fontconfig.spec.in \
|
||||||
fontconfig.spec \
|
fontconfig.spec \
|
||||||
fontconfig-zip.in
|
fontconfig-zip.in
|
||||||
|
DISTCLEANFILES = config.cache
|
||||||
|
MAINTAINERCLEANFILES = \
|
||||||
|
$(srcdir)/aclocal.m4 \
|
||||||
|
$(srcdir)/autoscan.log \
|
||||||
|
$(srcdir)/compile \
|
||||||
|
$(srcdir)/config.guess \
|
||||||
|
$(srcdir)/config.h.in \
|
||||||
|
$(srcdir)/config.sub \
|
||||||
|
$(srcdir)/configure.scan \
|
||||||
|
$(srcdir)/depcomp \
|
||||||
|
$(srcdir)/install-sh \
|
||||||
|
$(srcdir)/ltmain.sh \
|
||||||
|
$(srcdir)/missing \
|
||||||
|
$(srcdir)/mkinstalldirs \
|
||||||
|
`find "$(srcdir)" -type f -name Makefile.in -print`
|
||||||
|
|
||||||
pkgconfigdir=$(libdir)/pkgconfig
|
pkgconfigdir=$(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = fontconfig.pc
|
pkgconfig_DATA = fontconfig.pc
|
||||||
|
@ -45,6 +60,30 @@ else
|
||||||
RUN_FC_CACHE_TEST=test -z "$(DESTDIR)"
|
RUN_FC_CACHE_TEST=test -z "$(DESTDIR)"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Creating ChangeLog from git log:
|
||||||
|
|
||||||
|
MAINTAINERCLEANFILES += ChangeLog
|
||||||
|
|
||||||
|
EXTRA_DIST += ChangeLog
|
||||||
|
|
||||||
|
ChangeLog: $(srcdir)/ChangeLog
|
||||||
|
|
||||||
|
$(srcdir)/ChangeLog:
|
||||||
|
@if test -d "$(srcdir)/.git"; then \
|
||||||
|
(cd "$(srcdir)" && \
|
||||||
|
./missing --run git-log --stat) | fmt --split-only > $@.tmp \
|
||||||
|
&& mv -f $@.tmp $@ \
|
||||||
|
|| ($(RM) $@.tmp; \
|
||||||
|
echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
|
||||||
|
(test -f $@ || echo git-log is required to generate this file >> $@)); \
|
||||||
|
else \
|
||||||
|
test -f $@ || \
|
||||||
|
(echo A git checkout and git-log is required to generate ChangeLog >&2 && \
|
||||||
|
echo A git checkout and git-log is required to generate this file >> $@); \
|
||||||
|
fi
|
||||||
|
|
||||||
|
.PHONY: ChangeLog $(srcdir)/ChangeLog
|
||||||
|
|
||||||
install-data-local:
|
install-data-local:
|
||||||
$(mkinstalldirs) $(DESTDIR)$(configdir)
|
$(mkinstalldirs) $(DESTDIR)$(configdir)
|
||||||
if [ -f $(DESTDIR)$(configdir)/fonts.conf ]; then \
|
if [ -f $(DESTDIR)$(configdir)/fonts.conf ]; then \
|
||||||
|
|
Loading…
Reference in New Issue