Mercurial > emacs
comparison lib-src/Makefile.in @ 78652:fc773543e60e
(rcs2log, rcs-checkin, grep-changelog, vcdiff): Prepend "-" to the command,
in case srcdir=. and file is copied into itself.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 25 Aug 2007 10:58:54 +0000 |
parents | 1f2482de3237 |
children | 5714ff101fd9 022bf7fb4e74 b83d0dadb2a7 |
comparison
equal
deleted
inserted
replaced
78651:e126fc7d5013 | 78652:fc773543e60e |
---|---|
266 ${CC} -c ${CPP_CFLAGS} $< | 266 ${CC} -c ${CPP_CFLAGS} $< |
267 | 267 |
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: |
286 $(EMACS) $(EMACSOPT) -l $(srcdir)/../lisp/mail/blessmail.el | 289 $(EMACS) $(EMACSOPT) -l $(srcdir)/../lisp/mail/blessmail.el |
287 chmod +x blessmail | 290 chmod +x blessmail |