From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Silence error if globals.h doesn't exist Date: Fri, 30 Jan 2015 17:35:15 +0100 Message-ID: <87r3ucgrb0.fsf@igel.home> References: <87wq44nt3f.fsf@redhat.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422635757 8583 80.91.229.3 (30 Jan 2015 16:35:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Jan 2015 16:35:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Giuseppe Scrivano Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 30 17:35:56 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YHEXz-0005k0-5Y for ged-emacs-devel@m.gmane.org; Fri, 30 Jan 2015 17:35:55 +0100 Original-Received: from localhost ([::1]:37620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHEXy-0007De-LS for ged-emacs-devel@m.gmane.org; Fri, 30 Jan 2015 11:35:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHEXX-0007DY-J7 for emacs-devel@gnu.org; Fri, 30 Jan 2015 11:35:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHEXO-0007Bh-ST for emacs-devel@gnu.org; Fri, 30 Jan 2015 11:35:27 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:33903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHEXO-0007Ar-Mr; Fri, 30 Jan 2015 11:35:18 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3kYkg93KjLz3hjJk; Fri, 30 Jan 2015 17:35:17 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3kYkg90qvXzvh2K; Fri, 30 Jan 2015 17:35:17 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id WS6OJj93tIUW; Fri, 30 Jan 2015 17:35:16 +0100 (CET) X-Auth-Info: IvOXGec4MJ5jOKcsAlfS3ffqx85tl80q8SJ6m0MawnuXT9UCXQYiyYnNiqnQVD3G Original-Received: from igel.home (ppp-188-174-8-31.dynamic.mnet-online.de [188.174.8.31]) by mail.mnet-online.de (Postfix) with ESMTPA; Fri, 30 Jan 2015 17:35:16 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id E36722C341E; Fri, 30 Jan 2015 17:35:15 +0100 (CET) X-Yow: .. I don't understand the HUMOR of the THREE STOOGES!! In-Reply-To: <87wq44nt3f.fsf@redhat.com> (Giuseppe Scrivano's message of "Fri, 30 Jan 2015 17:14:44 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182076 Archived-At: Giuseppe Scrivano writes: > diff --git a/src/Makefile.in b/src/Makefile.in > index 2ac34f5..cd661fb 100644 > --- a/src/Makefile.in > +++ b/src/Makefile.in > @@ -498,7 +498,7 @@ gl-stamp: $(libsrc)/make-docfile$(EXEEXT) $(GLOBAL_SOURCES) > $(AM_V_GEN)$(libsrc)/make-docfile -d $(srcdir) -g $(obj) >$@ > > globals.h: gl-stamp > - $(AM_V_GEN)cmp $< $@ >/dev/null || cp $< $@ > + $(AM_V_GEN)cmp $< $@ >/dev/null 2>&1 || cp $< $@ That should use move-if-change. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."