From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: [mark@mcs.vuw.ac.nz: use INSTALL_SCRIPT in lib-src] Date: Fri, 3 Nov 2006 23:40:28 +0200 Message-ID: <20061103214027.GA78391@kobe.laptop> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162590172 13947 80.91.229.2 (3 Nov 2006 21:42:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Nov 2006 21:42:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 03 22:42:49 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gg6nU-0001Og-98 for ged-emacs-devel@m.gmane.org; Fri, 03 Nov 2006 22:42:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gg6nT-0001sa-Ph for ged-emacs-devel@m.gmane.org; Fri, 03 Nov 2006 16:41:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gg6md-0000tx-F7 for emacs-devel@gnu.org; Fri, 03 Nov 2006 16:41:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gg6mb-0000qi-Cg for emacs-devel@gnu.org; Fri, 03 Nov 2006 16:41:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gg6mb-0000qS-2Z for emacs-devel@gnu.org; Fri, 03 Nov 2006 16:41:01 -0500 Original-Received: from [62.1.205.36] (helo=igloo.linux.gr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gg6mS-0004QQ-F1; Fri, 03 Nov 2006 16:40:53 -0500 Original-Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-2) with ESMTP id kA3Lebn1027890 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 3 Nov 2006 23:40:40 +0200 Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id kA3LeTeq078470; Fri, 3 Nov 2006 23:40:29 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id kA3LeSUj078469; Fri, 3 Nov 2006 23:40:28 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-To: Richard Stallman Content-Disposition: inline In-Reply-To: X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.534, required 5, AWL -0.14, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20, UNPARSEABLE_RELAY 0.00, UPPERCASE_25_50 0.00) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61721 Archived-At: On 2006-11-03 02:07, Richard Stallman wrote: > Would someone please install this tiny change, > then ack? (Please also thank Mark Davies.) FWIW, we 've been building the editors/emacs-devel port of FreeBSD with this patch for quite some time now, so I can verify that this is a safe change to make :) > ------- Start of forwarded message ------- > From: Mark Davies > To: bug-gnu-emacs@gnu.org > Date: Thu, 2 Nov 2006 22:26:20 +1300 > Subject: use INSTALL_SCRIPT in lib-src > > The Makefile in lib-src attempts to install some scripts so should use > INSTALL_SCRIPT instead of INSTALL_PROGRAM in case they are different. > > patch attached to fix. > - --- lib-src/Makefile.in.orig 2006-03-03 21:02:31.000000000 +0900 > +++ lib-src/Makefile.in > @@ -94,6 +94,7 @@ gameuser=@gameuser@ > INSTALL = @INSTALL@ > INSTALL_PROGRAM = @INSTALL_PROGRAM@ > INSTALL_DATA = @INSTALL_DATA@ > +INSTALL_SCRIPT = @INSTALL_SCRIPT@ > # By default, we uphold the dignity of our programs. > INSTALL_STRIP = > > @@ -319,7 +320,7 @@ $(DESTDIR)${archlibdir}: all > if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` \ > != `(cd ${srcdir} && /bin/pwd)` ]; then \ > for file in ${SCRIPTS}; do \ > - - $(INSTALL_PROGRAM) ${srcdir}/$$file $(DESTDIR)${archlibdir}/$$file; \ > + $(INSTALL_SCRIPT) ${srcdir}/$$file $(DESTDIR)${archlibdir}/$$file; \ > done ; \ > fi > > @@ -331,7 +332,7 @@ install: $(DESTDIR)${archlibdir} > chmod a+rx $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ > done > for file in ${INSTALLABLE_SCRIPTS} ; do \ > - - $(INSTALL_PROGRAM) ${srcdir}/$${file} $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ > + $(INSTALL_SCRIPT) ${srcdir}/$${file} $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ > chmod a+rx $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ > done