[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error trying to invoke the make program
From: |
Eli Zaretskii |
Subject: |
Re: Error trying to invoke the make program |
Date: |
Sat, 25 Aug 2007 14:04:49 +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: