# HG changeset patch # User Eli Zaretskii # Date 1188039534 0 # Node ID fc773543e60e14099f8e4564353f685a744f0829 # Parent e126fc7d5013e2e097190e49cc9a42ddf6d035c4 (rcs2log, rcs-checkin, grep-changelog, vcdiff): Prepend "-" to the command, in case srcdir=. and file is copied into itself. diff -r e126fc7d5013 -r fc773543e60e lib-src/Makefile.in --- a/lib-src/Makefile.in Sat Aug 25 10:53:27 2007 +0000 +++ b/lib-src/Makefile.in Sat Aug 25 10:58:54 2007 +0000 @@ -268,18 +268,21 @@ all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} /* These targets copy the scripts into the build directory -so that they can be run from there in an uninstalled Emacs. */ +so that they can be run from there in an uninstalled Emacs. +The "-" is prepended because some versions of cp barf when +srcdir is the current directory, and thus the file will be +copied into itself. */ rcs2log: $(srcdir)/rcs2log - cp -p $(srcdir)/rcs2log rcs2log + -cp -p $(srcdir)/rcs2log rcs2log rcs-checkin: $(srcdir)/rcs-checkin - cp -p $(srcdir)/rcs-checkin rcs-checkin + -cp -p $(srcdir)/rcs-checkin rcs-checkin grep-changelog: $(srcdir)/grep-changelog - cp -p $(srcdir)/grep-changelog grep-changelog + -cp -p $(srcdir)/grep-changelog grep-changelog vcdiff: $(srcdir)/vcdiff - cp -p $(srcdir)/vcdiff vcdiff + -cp -p $(srcdir)/vcdiff vcdiff #ifdef MOVEMAIL_NEEDS_BLESSING blessmail: