diff options
author | Daiki Ueno <ueno@gnu.org> | 2015-10-14 10:20:34 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2015-10-14 15:00:09 +0900 |
commit | 614ff78da50d3b16b538c07d338dc4a9b32d6261 (patch) | |
tree | f83f25d6bb018d560ad99ecb95b767ee90b79881 /Admin | |
parent | ac1632889dfc001ca13a4debaf1e632889d866d0 (diff) | |
download | external_gettext-614ff78da50d3b16b538c07d338dc4a9b32d6261.zip external_gettext-614ff78da50d3b16b538c07d338dc4a9b32d6261.tar.gz external_gettext-614ff78da50d3b16b538c07d338dc4a9b32d6261.tar.bz2 |
build: Remove ChangeLogs
Generate ChangeLog files at "make dist" time, using
gitlog-to-changelog. We still keep ChangeLog files under "po" and
"intl" directories, since those files are copied as part of gettext
infrastructure and it is still meaningful to have them there.
* .gitignore: Add ChangeLog files.
* Admin/release-steps: Remove mention of running update-changelog
script.
* Admin/update-changelog: Remove.
* Makefile.am (gen-ChangeLog): New rule.
* autogen.sh: Copy gitlog-to-changelog from gnulib. Create empty
ChangeLog files to suppress Automake errors.
* gettext-tools/doc/Makefile.am (EXTRA_DIST): Remove ChangeLog.0.
* gettext-tools/man/Makefile.am (EXTRA_DIST): Remove ChangeLog.0.
* gettext-tools/src/Makefile.am (EXTRA_DIST): Remove ChangeLog.0.
* gettext-tools/tests/Makefile.am (EXTRA_DIST): Remove ChangeLog.0.
* gnulib-local/Makefile.am (EXTRA_DIST): Remove ChangeLog files.
* */ChangeLog: Rename to ChangeLog.0 or ChangeLog.1.
* HACKING: Add brief guideline to submit patches.
Diffstat (limited to 'Admin')
-rw-r--r-- | Admin/release-steps | 6 | ||||
-rwxr-xr-x | Admin/update-changelog | 46 |
2 files changed, 0 insertions, 52 deletions
diff --git a/Admin/release-steps b/Admin/release-steps index c568442..5ffeaf1 100644 --- a/Admin/release-steps +++ b/Admin/release-steps @@ -122,12 +122,6 @@ Release procedure and commit the changes. -* Update all ChangeLogs: - - ./Admin/update-changelog - - and commit the changes. - * Create a release: git clean -xdff diff --git a/Admin/update-changelog b/Admin/update-changelog deleted file mode 100755 index 4ebc668..0000000 --- a/Admin/update-changelog +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2014-2015 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 -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -# This file is meant for maintainers of GNU gettext. It prepends a -# release-announcement entry to all ChangeLog files. -# -# Usage: update-changelog VERSION USER EMAIL - -test $# == 3 || { echo "Usage: $0 VERSION USER EMAIL" 1>&2; exit 1; } - -if test ! -d gettext-runtime || test ! -d gettext-tools; then - echo "$0: run in the top-level directory" 1>&2 - exit 1 -fi - -ver=$1 -user=$2 -email=$3 - -for file in `find . -name "ChangeLog"`; do - test $file = "./gnulib/ChangeLog" \ - || test $file = "./gettext-tools/examples/hello-c++-kde/admin/ChangeLog" \ - || { { date=`date -u +%Y-%m-%d`; - cat <<EOF -$date $user <$email> - - * gettext $ver released. - -EOF - cat $file; } > $file.tmp && mv $file.tmp $file; } -done |