all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: losmj@federatedinv.com
Cc: bug-gnu-emacs@gnu.org, michael@cadilhac.name
Subject: Re: Error trying to invoke the make program
Date: Sat, 25 Aug 2007 14:04:49 +0300	[thread overview]
Message-ID: <uabsfvpri.fsf@gnu.org> (raw)
In-Reply-To: <uzm0huw6i.fsf@gnu.org> (message from Eli Zaretskii on Fri, 24 Aug 2007 12:19:17 +0300)

> Date: Fri, 24 Aug 2007 12:19:17 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: bug-gnu-emacs@gnu.org, losmj@federatedinv.com
> 
> > From: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac)
> > Date: Thu, 23 Aug 2007 22:58:23 +0200
> > Cc: bug-gnu-emacs@gnu.org
> > 
> > http://thread.gmane.org/gmane.emacs.bugs/16314
> > 
> > Eli, I don't see any fix in the repository for that, is it normal?
> 
> It is normal considering the fact that I didn't yet install any
> changes to fix this. ;-)

Fixed in the release branch now.  The trunk should get an update soon.

The patch is attached below, for the OP to use in order to complete
the build.

Thanks for reporting this.


2007-08-25  Eli Zaretskii  <eliz@gnu.org>

	* Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
	Prepend "-" to the command, in case srcdir=. and file is copied
	into itself.


Index: lib-src/Makefile.in
===================================================================
RCS file: /cvsroot/emacs/emacs/lib-src/Makefile.in,v
retrieving revision 1.153.2.1
retrieving revision 1.153.2.2
diff -u -r1.153.2.1 -r1.153.2.2
--- lib-src/Makefile.in	25 Jul 2007 05:06:11 -0000	1.153.2.1
+++ lib-src/Makefile.in	25 Aug 2007 10:58:54 -0000	1.153.2.2
@@ -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:

      reply	other threads:[~2007-08-25 11:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-23 12:52 Error trying to invoke the make program Los, Mark J
2007-08-23 20:58 ` Michaël Cadilhac
2007-08-24  9:19   ` Eli Zaretskii
2007-08-25 11:04     ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uabsfvpri.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=losmj@federatedinv.com \
    --cc=michael@cadilhac.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.