aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2014-12-13 18:38:21 -0800
committerGlenn Morris2014-12-13 18:38:21 -0800
commit49daed60510a073062b41fa39fd7c010cb0a315e (patch)
treec254bf6f56ac9eec9f6d910aa934cfe5305f0a8a
parent4d806dc01d4ffdecadfe75e92f4f190952f5447c (diff)
downloademacs-49daed60510a073062b41fa39fd7c010cb0a315e.tar.gz
emacs-49daed60510a073062b41fa39fd7c010cb0a315e.zip
Remove lib-src/grep-changelog
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00145.html * lib-src/grep-changelog: Remove file. * lib-src/Makefile.in (INSTALLABLE_SCRIPTS): Remove. (all, install, uninstall): Remove INSTALLABLE_SCRIPTS. * doc/man/grep-changelog.1: Remove file. * make-dist: No more lib-src/grep-changelog. * INSTALL: No longer mention grep-changelog. * admin/quick-install-emacs (PUBLIC_LIBSRC_SCRIPTS): Remove, and all uses. * admin/authors.el (authors-valid-file-names): Add grep-changelog. * etc/NEWS: Mention this.
-rw-r--r--ChangeLog2
-rw-r--r--INSTALL3
-rw-r--r--admin/ChangeLog5
-rw-r--r--admin/authors.el2
-rwxr-xr-xadmin/quick-install-emacs6
-rw-r--r--doc/man/ChangeLog4
-rw-r--r--doc/man/grep-changelog.180
-rw-r--r--etc/NEWS5
-rw-r--r--lib-src/ChangeLog6
-rw-r--r--lib-src/Makefile.in10
-rwxr-xr-xlib-src/grep-changelog265
-rwxr-xr-xmake-dist2
12 files changed, 27 insertions, 363 deletions
diff --git a/ChangeLog b/ChangeLog
index 15117e472b7..130e587a149 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
12014-12-14 Glenn Morris <rgm@gnu.org> 12014-12-14 Glenn Morris <rgm@gnu.org>
2 2
3 * make-dist: No more lib-src/grep-changelog.
4
3 * INSTALL.REPO: Revert 2014-12-06 change. 5 * INSTALL.REPO: Revert 2014-12-06 change.
4 6
52014-12-13 Paul Eggert <eggert@cs.ucla.edu> 72014-12-13 Paul Eggert <eggert@cs.ucla.edu>
diff --git a/INSTALL b/INSTALL
index 8ecee65aaa5..81140a21ab4 100644
--- a/INSTALL
+++ b/INSTALL
@@ -464,8 +464,7 @@ installed locations, with `make install'. By default, Emacs's files
464are installed in the following directories: 464are installed in the following directories:
465 465
466`/usr/local/bin' holds the executable programs users normally run - 466`/usr/local/bin' holds the executable programs users normally run -
467 `emacs', `etags', `ctags', `emacsclient', and 467 `emacs', `etags', `ctags', `emacsclient'.
468 `grep-changelog'.
469 468
470`/usr/local/share/emacs/VERSION/lisp' holds the Emacs Lisp library; 469`/usr/local/share/emacs/VERSION/lisp' holds the Emacs Lisp library;
471 `VERSION' stands for the number of the Emacs version 470 `VERSION' stands for the number of the Emacs version
diff --git a/admin/ChangeLog b/admin/ChangeLog
index 2e02f044418..ed956f9912d 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,8 @@
12014-12-14 Glenn Morris <rgm@gnu.org>
2
3 * quick-install-emacs (PUBLIC_LIBSRC_SCRIPTS): Remove, and all uses.
4 * authors.el (authors-valid-file-names): Add grep-changelog.
5
12014-12-13 Paul Eggert <eggert@cs.ucla.edu> 62014-12-13 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 * notes/unicode: Don't mention Czech and Slovakian refcards. 8 * notes/unicode: Don't mention Czech and Slovakian refcards.
diff --git a/admin/authors.el b/admin/authors.el
index b05f37ba8dd..42f3bcd799d 100644
--- a/admin/authors.el
+++ b/admin/authors.el
@@ -691,7 +691,7 @@ Changes to files in this list are not listed.")
691 "etags-vmslib.c" "fakemail.c" "getdate.c" "getopt.h" "getopt1.c" 691 "etags-vmslib.c" "fakemail.c" "getdate.c" "getopt.h" "getopt1.c"
692 "getopt_.h" "getopt_int.h" "gettext.h" "leditcfns.c" "loadst.c" 692 "getopt_.h" "getopt_int.h" "gettext.h" "leditcfns.c" "loadst.c"
693 "make-path.c" "qsort.c" "sorted-doc.c" "tcp.c" "timer.c" "wakeup.c" 693 "make-path.c" "qsort.c" "sorted-doc.c" "tcp.c" "timer.c" "wakeup.c"
694 "yow.c" 694 "yow.c" "grep-changelog"
695 ;; etc/ 695 ;; etc/
696 "emacsclient.c" "etags.c" "hexl.c" "make-docfile.c" "movemail.c" 696 "emacsclient.c" "etags.c" "hexl.c" "make-docfile.c" "movemail.c"
697 "test-distrib.c" "testfile" 697 "test-distrib.c" "testfile"
diff --git a/admin/quick-install-emacs b/admin/quick-install-emacs
index 5edc8d4d9ad..58fc5f080fe 100755
--- a/admin/quick-install-emacs
+++ b/admin/quick-install-emacs
@@ -28,7 +28,6 @@
28 28
29 29
30PUBLIC_LIBSRC_BINARIES='emacsclient etags ctags ebrowse' 30PUBLIC_LIBSRC_BINARIES='emacsclient etags ctags ebrowse'
31PUBLIC_LIBSRC_SCRIPTS='grep-changelog'
32 31
33AVOID="CVS -DIC README COPYING ChangeLog ~ [.]orig$ [.]rej$ Makefile$ Makefile.in$ makefile$ makefile.w32-in$ stamp-subdir [.]cvsignore [.]arch-ids [{]arch[}] [.][cho]$ make-docfile" 32AVOID="CVS -DIC README COPYING ChangeLog ~ [.]orig$ [.]rej$ Makefile$ Makefile.in$ makefile$ makefile.w32-in$ stamp-subdir [.]cvsignore [.]arch-ids [{]arch[}] [.][cho]$ make-docfile"
34 33
@@ -230,9 +229,6 @@ maybe_emit_copy $BUILD/src/emacs $DST_BIN/emacs-$VERSION
230for F in $PUBLIC_LIBSRC_BINARIES; do 229for F in $PUBLIC_LIBSRC_BINARIES; do
231 maybe_emit_copy $BUILD/lib-src/$F $DST_BIN/$F 230 maybe_emit_copy $BUILD/lib-src/$F $DST_BIN/$F
232done 231done
233for F in $PUBLIC_LIBSRC_SCRIPTS; do
234 maybe_emit_copy $SRC/lib-src/$F $DST_BIN/$F
235done
236 232
237if test x"$SRC" = x"$BUILD"; then 233if test x"$SRC" = x"$BUILD"; then
238 PFXS="$BUILD" 234 PFXS="$BUILD"
@@ -259,7 +255,7 @@ for SUBDIR in lisp leim etc lib-src info; do
259 ;; 255 ;;
260 lib-src) 256 lib-src)
261 DST="$DST_LIBEXEC" 257 DST="$DST_LIBEXEC"
262 AVOID_PAT="`echo "($AVOID ($PUBLIC_LIBSRC_BINARIES $PUBLIC_LIBSRC_SCRIPTS)\$)" | tr ' ' '|'`" 258 AVOID_PAT="`echo "($AVOID ($PUBLIC_LIBSRC_BINARIES)\$)" | tr ' ' '|'`"
263 ;; 259 ;;
264 info) 260 info)
265 DST="$DST_INFO" 261 DST="$DST_INFO"
diff --git a/doc/man/ChangeLog b/doc/man/ChangeLog
index ad220a33898..813a416255c 100644
--- a/doc/man/ChangeLog
+++ b/doc/man/ChangeLog
@@ -1,3 +1,7 @@
12014-12-14 Glenn Morris <rgm@gnu.org>
2
3 * grep-changelog.1: Remove file.
4
12014-11-10 Glenn Morris <rgm@gnu.org> 52014-11-10 Glenn Morris <rgm@gnu.org>
2 6
3 * emacs.1.in: Rename from emacs.1. 7 * emacs.1.in: Rename from emacs.1.
diff --git a/doc/man/grep-changelog.1 b/doc/man/grep-changelog.1
deleted file mode 100644
index a3635a61838..00000000000
--- a/doc/man/grep-changelog.1
+++ /dev/null
@@ -1,80 +0,0 @@
1.\" -*- nroff -*-
2.\" See section COPYING for copyright and redistribution information.
3.TH grep-changelog 1
4.SH NAME
5grep-changelog \- print ChangeLog entries matching criteria
6.SH SYNOPSIS
7.B grep-changelog
8.RI [ options ]
9.RI [ CHANGELOG .\|.\|.]
10.SH DESCRIPTION
11.B grep-changelog
12searches the named
13.IR CHANGELOG s
14(by default files matching the regular expressions
15.B ChangeLog
16and
17.BR "ChangeLog\e.[0-9]+" )
18for entries matching the specified criteria. At least one option or
19file must be specified. This program is distributed with
20.BR "GNU Emacs" .
21.PP
22.SH OPTIONS
23The program accepts unambiguous abbreviations for option names.
24.TP
25.B \-\-author=AUTHOR
26Print entries whose author matches regular expression
27.IR AUTHOR .
28.TP
29.B \-\-text=TEXT
30Print entries whose text matches regular expression
31.IR TEXT .
32.TP
33.B \-\-exclude=TEXT
34Exclude entries matching regular expression
35.IR TEXT .
36.TP
37.B \-\-from\-date=YYYY\-MM\-DD
38Only consider entries made on or after the given date.
39ChangeLog date entries not in the
40\*(lqYYYY\-MM\-DD\*(rq format are never matched.
41.TP
42.B \-\-to\-date=YYYY\-MM\-DD
43Only consider entries made on or before the given date.
44.TP
45.B \-\-rcs\-log
46Print output in a format suitable for RCS log entries.
47This format removes author lines, leading spaces, and file names.
48.TP
49.B \-\-with\-date
50In RCS log format, print short dates.
51.TP
52.B \-\-reverse
53Show matches in reverse order.
54.TP
55.B \-\-version
56Display version information.
57.TP
58.B \-\-help
59Display basic usage information.
60.
61.SH COPYING
62Copyright
63.if t \(co
64.if n (C)
652008-2014 Free Software Foundation, Inc.
66.PP
67Permission is granted to make and distribute verbatim copies of this
68document provided the copyright notice and this permission notice are
69preserved on all copies.
70.PP
71Permission is granted to copy and distribute modified versions of
72this document under the conditions for verbatim copying, provided that
73the entire resulting derived work is distributed under the terms of
74a permission notice identical to this one.
75.PP
76Permission is granted to copy and distribute translations of this
77document into another language, under the above conditions for
78modified versions, except that this permission notice may be stated
79in a translation approved by the Free Software Foundation.
80.
diff --git a/etc/NEWS b/etc/NEWS
index 58e4b0e2cf1..01c8431ea00 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -43,6 +43,11 @@ Use './configure PKG_CONFIG=/full/name/of/pkg-config' if you need to.
43** The configure option '--enable-silent-rules' and the command 43** The configure option '--enable-silent-rules' and the command
44'make V=0' now do a better job of suppressing chatter. 44'make V=0' now do a better job of suppressing chatter.
45 45
46---
47** The `grep-changelog' script (and its manual page) are no longer included.
48It has no particular connection to Emacs and has not changed in years,
49so if you want to use it, you can always take a copy from an older Emacs.
50
46 51
47* Startup Changes in Emacs 25.1 52* Startup Changes in Emacs 25.1
48 53
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index ab67538c387..9b6c0daf210 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,9 @@
12014-12-14 Glenn Morris <rgm@gnu.org>
2
3 * grep-changelog: Remove file.
4 * Makefile.in (INSTALLABLE_SCRIPTS): Remove.
5 (all, install, uninstall): Remove INSTALLABLE_SCRIPTS.
6
12014-11-23 Glenn Morris <rgm@gnu.org> 72014-11-23 Glenn Morris <rgm@gnu.org>
2 8
3 * Makefile.in (emacsclient.res): Fix yesterday's thinko. 9 * Makefile.in (emacsclient.res): Fix yesterday's thinko.
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 77d3b78096a..cae0898a2c4 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -137,8 +137,6 @@ CLIENTW = @CLIENTW@
137INSTALLABLES = etags${EXEEXT} ctags${EXEEXT} emacsclient${EXEEXT} $(CLIENTW) \ 137INSTALLABLES = etags${EXEEXT} ctags${EXEEXT} emacsclient${EXEEXT} $(CLIENTW) \
138 ebrowse${EXEEXT} 138 ebrowse${EXEEXT}
139 139
140INSTALLABLE_SCRIPTS = grep-changelog
141
142# Things that Emacs runs internally, or during the build process, 140# Things that Emacs runs internally, or during the build process,
143# which should not be installed in bindir. 141# which should not be installed in bindir.
144UTILITIES = profile${EXEEXT} movemail${EXEEXT} hexl${EXEEXT} \ 142UTILITIES = profile${EXEEXT} movemail${EXEEXT} hexl${EXEEXT} \
@@ -215,7 +213,7 @@ CPP_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${CPPFLAGS} ${CFLAGS}
215# Configuration files for .o files to depend on. 213# Configuration files for .o files to depend on.
216config_h = ../src/config.h $(srcdir)/../src/conf_post.h 214config_h = ../src/config.h $(srcdir)/../src/conf_post.h
217 215
218all: ${EXE_FILES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} 216all: ${EXE_FILES} ${SCRIPTS}
219 217
220.PHONY: all need-blessmail maybe-blessmail 218.PHONY: all need-blessmail maybe-blessmail
221 219
@@ -281,17 +279,11 @@ install: $(DESTDIR)${archlibdir}
281 for file in ${INSTALLABLES} ; do \ 279 for file in ${INSTALLABLES} ; do \
282 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} "$(DESTDIR)${bindir}"/`echo $${file} | sed -e 's/${EXEEXT}$$//' -e '$(TRANSFORM)'`${EXEEXT} ; \ 280 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} "$(DESTDIR)${bindir}"/`echo $${file} | sed -e 's/${EXEEXT}$$//' -e '$(TRANSFORM)'`${EXEEXT} ; \
283 done 281 done
284 for file in ${INSTALLABLE_SCRIPTS} ; do \
285 $(INSTALL_SCRIPT) ${srcdir}/$${file} "$(DESTDIR)${bindir}"/`echo $${file} | sed '$(TRANSFORM)'` ; \
286 done
287 282
288uninstall: 283uninstall:
289 for file in ${INSTALLABLES}; do \ 284 for file in ${INSTALLABLES}; do \
290 rm -f "$(DESTDIR)${bindir}"/`echo $${file} | sed -e 's/${EXEEXT}$$//' -e '$(TRANSFORM)'`${EXEEXT} ; \ 285 rm -f "$(DESTDIR)${bindir}"/`echo $${file} | sed -e 's/${EXEEXT}$$//' -e '$(TRANSFORM)'`${EXEEXT} ; \
291 done 286 done
292 for file in ${INSTALLABLE_SCRIPTS}; do \
293 rm -f "$(DESTDIR)${bindir}"/`echo $${file} | sed '$(TRANSFORM)'` ; \
294 done
295 if [ -d "$(DESTDIR)${archlibdir}" ]; then \ 287 if [ -d "$(DESTDIR)${archlibdir}" ]; then \
296 (cd "$(DESTDIR)${archlibdir}" && rm -f ${UTILITIES} ${SCRIPTS}) \ 288 (cd "$(DESTDIR)${archlibdir}" && rm -f ${UTILITIES} ${SCRIPTS}) \
297 fi 289 fi
diff --git a/lib-src/grep-changelog b/lib-src/grep-changelog
deleted file mode 100755
index ab8c5e38618..00000000000
--- a/lib-src/grep-changelog
+++ /dev/null
@@ -1,265 +0,0 @@
1#! /usr/bin/perl
2
3# Copyright (C) 1999-2014 Free Software Foundation, Inc.
4#
5# This file is part of GNU Emacs.
6
7# GNU Emacs is free software: you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation, either version 3 of the License, or
10# (at your option) any later version.
11
12# GNU Emacs is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16
17# You should have received a copy of the GNU General Public License
18# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
19
20
21# Extract entries from ChangeLogs matching specified criteria.
22# Optionally format the resulting output to a form suitable for RCS
23# logs, like they are used in Emacs, for example. In this format,
24# author lines, leading spaces, and file names are removed.
25
26require 5;
27use strict;
28
29# Parse command line options.
30
31use vars qw($author $regexp $exclude $from_date $to_date
32 $rcs_log $with_date $version $help $reverse
33 @entries);
34
35use Getopt::Long;
36
37my $result;
38
39if (@ARGV == 0) {
40
41 # No arguments cannot possibly mean "show everything"!!
42 $result = 0;
43
44} else {
45
46 $result = GetOptions ("author=s" => \$author,
47 "text=s" => \$regexp,
48 "exclude=s" => \$exclude,
49 "from-date=s" => \$from_date,
50 "to-date=s" => \$to_date,
51 "rcs-log" => \$rcs_log,
52 "with-date" => \$with_date,
53 "reverse!" => \$reverse,
54 "version" => \$version,
55 "help" => \$help);
56
57 # If date options are specified, check that they have the format
58 # YYYY-MM-DD.
59
60 $result = 0 if $from_date && $from_date !~ /^\d\d\d\d-\d\d-\d\d$/;
61 $result = 0 if $to_date && $to_date !~ /^\d\d\d\d-\d\d-\d\d$/;
62}
63
64# Print usage information and exit when necessary.
65
66if ($result == 0 || $help) {
67 print <<USAGE;
68
69Usage: $0 [options] [CHANGELOG...]
70
71Print entries in ChangeLogs matching various criteria.
72Valid options are:
73
74 --author=AUTHOR Match entries whose author line matches
75 regular expression AUTHOR
76 --text=TEXT Match entries whose text matches regular
77 expression TEXT
78 --exclude=TEXT Exclude entries matching TEXT
79 --from-date=YYYY-MM-DD Match entries not older than given date
80 --to-date=YYYY-MM-DD Match entries not younger than given date
81 --rcs-log Format output suitable for RCS log entries
82 --with-date Print short date line in RCS log
83 --reverse Show entries in reverse (chronological) order
84 --version Print version info
85 --help Print this help
86
87If no CHANGELOG is specified scan the files "ChangeLog" and
88"ChangeLog.N+" in the current directory. Old-style dates in ChangeLogs
89are not recognized.
90USAGE
91 exit !$help;
92}
93
94# Print version info and exit if `--version' was specified.
95
96if ($version) {
97 print "0.3\n";
98 exit 0;
99}
100
101
102# Value is non-zero if HEADER matches according to command line
103# options specified, i.e. it matches $author, and its date is in
104# the range $from_date <= date <= $to_date.
105
106sub header_match_p {
107 my $header = shift;
108
109 return 0 unless $header;
110
111 # No match if AUTHOR-regexp specified and doesn't match.
112 return 0 if $author && $header !~ /$author/;
113
114 # Check that the date of the entry matches if date options
115 # `--from-date' and/or `--to-date' were specified . Old-style
116 # dates in ChangeLogs are not recognized, and never match.
117 if ($from_date || $to_date) {
118 if ($header =~ /^(\d\d\d\d-\d\d-\d\d)/) {
119 my $date = $1;
120 return 0 if $from_date && $date lt $from_date;
121 return 0 if $to_date && $date gt $to_date;
122 } else {
123 # Don't bother recognizing old-style dates.
124 return 0;
125 }
126 }
127
128 return 1;
129}
130
131
132# Value is non-zero if ENTRY matches the criteria specified on the
133# command line, i.e. it matches $regexp, and it doesn't match
134# $exclude.
135
136sub entry_match_p {
137 my $entry = shift;
138
139 return 0 unless $entry;
140
141 if ($regexp) {
142 return 1 if ($entry =~ /$regexp/
143 && (!$exclude || $entry !~ $exclude));
144 } else {
145 return 1 if !$exclude || $entry !~ $exclude;
146 }
147
148 return 0;
149}
150
151
152# Print HEADER and/or ENTRY in a format suitable for what was
153# specified on the command line. If $rcs_log is specified, author
154# lines are not printed, and leading spaces and file names are removed
155# from ChangeLog entries.
156
157sub print_log {
158 my ($header, $entry) = @_;
159 my $output = '';
160
161 if ($rcs_log) {
162 # Remove leading whitespace from entry.
163 $entry =~ s/^\s+//mg;
164 # Remove file name parts.
165 $entry =~ s/^\*.*\(/(/mg;
166 # Remove file name parts, 2.
167 $entry =~ s/^\*.*://mg;
168 if ($with_date) {
169 $header =~ /(\d\d\d\d-\d\d-\d\d)/;
170 $output = "!changelog-date $1\n";
171 }
172 $output .= $entry;
173 } else {
174 $output .= $header . $entry;
175 }
176
177 if ($reverse) {
178 push @entries, $output;
179 } else {
180 print $output;
181 }
182}
183
184# Scan LOG for matching entries, and print them to standard output.
185
186sub parse_changelog {
187 my $log = shift;
188 my $entry = undef;
189 my $header = undef;
190
191 @entries = () if $reverse;
192
193 # Open the ChangeLog.
194 open (IN, "< $log") || die "Cannot open $log: $!";
195
196 while (defined(my $line = <IN>)) {
197 if ($line =~ /^\S/) {
198 # Line is an author-line. Print previous entry if
199 # it matches.
200 print_log ($header, $entry)
201 if header_match_p ($header) && entry_match_p ($entry);
202
203 $entry = "";
204 $header = $line;
205
206 # Add empty lines below the header.
207 while (defined($line = <IN>) && $line =~ /^\s*$/) {
208 $header = "$header$line";
209 }
210 }
211
212 last unless defined $line;
213
214 if ($line =~ /^\s*\*/) {
215 # LINE is the first line of a ChangeLog entry. Print
216 # previous entry if it matches.
217 print_log ($header, $entry)
218 if header_match_p ($header) && entry_match_p ($entry);
219 $entry = $line;
220 } else {
221 # Add LINE to the current entry.
222 $entry = "$entry$line";
223 }
224 }
225
226 # Print last entry if it matches.
227 print_log ($header, $entry)
228 if header_match_p ($header) && entry_match_p ($entry);
229
230 close IN;
231
232 if ($reverse) {
233 for (my $entry = @entries; $entry; $entry--) {
234 print $entries[$entry-1];
235 }
236 }
237}
238
239
240# Main program. Process ChangeLogs.
241
242# If files were specified on the command line, parse those files in the
243# order supplied by the user; otherwise parse default files ChangeLog and
244# ChangeLog.NNN according to $reverse.
245unless (@ARGV > 0) {
246 @ARGV = ("ChangeLog");
247
248 push @ARGV,
249 map {"ChangeLog.$_"}
250 sort {$b <=> $a}
251 map {/\.(\d+)$/; $1}
252 do {
253 opendir D, '.';
254 grep /^ChangeLog\.\d+$/, readdir D;
255 };
256
257 @ARGV = reverse @ARGV if $reverse;
258}
259
260while (defined (my $log = shift @ARGV)) {
261 parse_changelog ($log) if -f $log;
262}
263
264
265# grep-changelog ends here.
diff --git a/make-dist b/make-dist
index 6e85f1dc216..f287606c010 100755
--- a/make-dist
+++ b/make-dist
@@ -382,7 +382,7 @@ echo "Making links to \`lib-src'"
382(cd lib-src 382(cd lib-src
383 ln [a-zA-Z]*.[ch] ../${tempdir}/lib-src 383 ln [a-zA-Z]*.[ch] ../${tempdir}/lib-src
384 ln ChangeLog Makefile.in README ../${tempdir}/lib-src 384 ln ChangeLog Makefile.in README ../${tempdir}/lib-src
385 ln grep-changelog rcs2log ../${tempdir}/lib-src 385 ln rcs2log ../${tempdir}/lib-src
386 ln makefile.w32-in ../${tempdir}/lib-src 386 ln makefile.w32-in ../${tempdir}/lib-src
387 ln update-game-score.exe.manifest ../${tempdir}/lib-src) 387 ln update-game-score.exe.manifest ../${tempdir}/lib-src)
388 388