diff options
| author | Eli Zaretskii | 2007-08-25 10:59:32 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2007-08-25 10:59:32 +0000 |
| commit | ca4ea90fa9fddeaa15956d0eeac068ac01bd1e33 (patch) | |
| tree | 475ab0293bc25b8df6acabc922a7e66fbc03a8b8 /lib-src | |
| parent | 7d477c58b064169f712f3b0c34615a939f432819 (diff) | |
| download | emacs-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/ChangeLog | 6 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 13 |
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 @@ | |||
| 1 | 2007-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 | |||
| 1 | 2007-07-25 Glenn Morris <rgm@gnu.org> | 7 | 2007-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 \ | |||
| 268 | all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} | 268 | all: ${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 |
| 271 | so that they can be run from there in an uninstalled Emacs. */ | 271 | so that they can be run from there in an uninstalled Emacs. |
| 272 | The "-" is prepended because some versions of cp barf when | ||
| 273 | srcdir is the current directory, and thus the file will be | ||
| 274 | copied into itself. */ | ||
| 272 | rcs2log: $(srcdir)/rcs2log | 275 | rcs2log: $(srcdir)/rcs2log |
| 273 | cp -p $(srcdir)/rcs2log rcs2log | 276 | -cp -p $(srcdir)/rcs2log rcs2log |
| 274 | 277 | ||
| 275 | rcs-checkin: $(srcdir)/rcs-checkin | 278 | rcs-checkin: $(srcdir)/rcs-checkin |
| 276 | cp -p $(srcdir)/rcs-checkin rcs-checkin | 279 | -cp -p $(srcdir)/rcs-checkin rcs-checkin |
| 277 | 280 | ||
| 278 | grep-changelog: $(srcdir)/grep-changelog | 281 | grep-changelog: $(srcdir)/grep-changelog |
| 279 | cp -p $(srcdir)/grep-changelog grep-changelog | 282 | -cp -p $(srcdir)/grep-changelog grep-changelog |
| 280 | 283 | ||
| 281 | vcdiff: $(srcdir)/vcdiff | 284 | vcdiff: $(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 |
| 285 | blessmail: | 288 | blessmail: |