bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hp-ux 11.11 lib-src/Makefile cp fails due to identical files


From: Eli Zaretskii
Subject: Re: hp-ux 11.11 lib-src/Makefile cp fails due to identical files
Date: Fri, 10 Aug 2007 17:47:44 +0300

> Date: Fri, 10 Aug 2007 16:04:32 +0200 (METDST)
> From: Philippe Waroquiers <address@hidden>
> 
> When configuring emacs on hp-ux 11.11, the result cannot be build
> with the hp make, while it can be built with the gnu make.
> The problem is caused by lib-src/Makefile.
> There are a set of lines such as:
> rcs2log: $(srcdir)/rcs2log
>       cp -p $(srcdir)/rcs2log rcs2log
> If for these lines, the target rcs2log and the source $(srcdir)/rcs2log
> are the same, the hp make will still launch the command, that
> will fail with the below error message:
> 
> cp: /auto/home/wao/no_backup/brol/emacs_with_optim/emacs-22.1/lib-src/rcs2log 
> and rcs2log are identical
> *** Error exit code 1

Thank you for your report.

Does it help to prepend "-" to the offending command, i.e.

 rcs2log: $(srcdir)/rcs2log
        -cp -p $(srcdir)/rcs2log rcs2log




reply via email to

[Prev in Thread] Current Thread [Next in Thread]