aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorEli Zaretskii2007-08-25 10:59:32 +0000
committerEli Zaretskii2007-08-25 10:59:32 +0000
commitca4ea90fa9fddeaa15956d0eeac068ac01bd1e33 (patch)
tree475ab0293bc25b8df6acabc922a7e66fbc03a8b8 /lib-src
parent7d477c58b064169f712f3b0c34615a939f432819 (diff)
downloademacs-ca4ea90fa9fddeaa15956d0eeac068ac01bd1e33.tar.gz
emacs-ca4ea90fa9fddeaa15956d0eeac068ac01bd1e33.zip
(rcs2log, rcs-checkin, grep-changelog, vcdiff): Prepend "-" to the command,
in case srcdir=. and file is copied into itself.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog6
-rw-r--r--lib-src/Makefile.in13
2 files changed, 14 insertions, 5 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index f26845c6c62..fca9e1c2e66 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,9 @@
12007-08-25 Eli Zaretskii <eliz@gnu.org>
2
3 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
4 Prepend "-" to the command, in case srcdir=. and file is copied
5 into itself.
6
12007-07-25 Glenn Morris <rgm@gnu.org> 72007-07-25 Glenn Morris <rgm@gnu.org>
2 8
3 * Relicense all FSF files to GPLv3 or later. 9 * Relicense all FSF files to GPLv3 or later.
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 1482ea6c5df..5d8da71dbdd 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -268,18 +268,21 @@ BASE_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \
268all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} 268all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
269 269
270/* These targets copy the scripts into the build directory 270/* These targets copy the scripts into the build directory
271so that they can be run from there in an uninstalled Emacs. */ 271so that they can be run from there in an uninstalled Emacs.
272The "-" is prepended because some versions of cp barf when
273srcdir is the current directory, and thus the file will be
274copied into itself. */
272rcs2log: $(srcdir)/rcs2log 275rcs2log: $(srcdir)/rcs2log
273 cp -p $(srcdir)/rcs2log rcs2log 276 -cp -p $(srcdir)/rcs2log rcs2log
274 277
275rcs-checkin: $(srcdir)/rcs-checkin 278rcs-checkin: $(srcdir)/rcs-checkin
276 cp -p $(srcdir)/rcs-checkin rcs-checkin 279 -cp -p $(srcdir)/rcs-checkin rcs-checkin
277 280
278grep-changelog: $(srcdir)/grep-changelog 281grep-changelog: $(srcdir)/grep-changelog
279 cp -p $(srcdir)/grep-changelog grep-changelog 282 -cp -p $(srcdir)/grep-changelog grep-changelog
280 283
281vcdiff: $(srcdir)/vcdiff 284vcdiff: $(srcdir)/vcdiff
282 cp -p $(srcdir)/vcdiff vcdiff 285 -cp -p $(srcdir)/vcdiff vcdiff
283 286
284#ifdef MOVEMAIL_NEEDS_BLESSING 287#ifdef MOVEMAIL_NEEDS_BLESSING
285blessmail: 288blessmail: