From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Need to modify src/epaths.in for custom prefix? (Was: Cleaner way to not build the ctags..) Date: Thu, 10 Mar 2016 18:28:39 +0200 Message-ID: <83h9gel2ko.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1457627323 23361 80.91.229.3 (10 Mar 2016 16:28:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2016 16:28:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kaushal Modi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 10 17:28:36 2016 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 1ae3Rz-0004Um-Tk for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2016 17:28:36 +0100 Original-Received: from localhost ([::1]:49411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae3Rv-0000Sj-P6 for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2016 11:28:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae3Rs-0000Sb-M7 for emacs-devel@gnu.org; Thu, 10 Mar 2016 11:28:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ae3Rq-0005vX-0n for emacs-devel@gnu.org; Thu, 10 Mar 2016 11:28:28 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae3Rp-0005vT-T1; Thu, 10 Mar 2016 11:28:25 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2113 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ae3Rp-00011g-7q; Thu, 10 Mar 2016 11:28:25 -0500 In-reply-to: (message from Kaushal Modi on Thu, 10 Mar 2016 11:00:11 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:201400 Archived-At: > From: Kaushal Modi > Date: Thu, 10 Mar 2016 11:00:11 -0500 > > As I was reviewing my emacs build script, I realized I needed to address this another nugget I have in there > for a while: > > sed -i 's|/usr/local|${MY_EMACS_INSTALL_DIR}|g' src/epaths.in > > Here ${MY_EMACS_INSTALL_DIR} is the path I set as prefix to the configure command. What's wrong with using --datadir= and --enable-locallisppath= ? (Maybe also --libexecdir and others.) IOW, I think the configure script already has all the knobs you need for that.