From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: local.mk and up2 (Was: [OT] Configuring bbdb 3) Date: Fri, 27 Jul 2012 12:24:06 -0400 Message-ID: <22269.1343406246@alphaville> References: <87mx2nfabu.fsf@ericabrahamsen.net> <87hasv3znm.fsf@Rainer.invalid> <87a9ymu679.fsf@ericabrahamsen.net> <871ujyo0ld.fsf@Rainer.invalid> <20120726195535.GA21193@debian> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SunKn-0006kp-L2 for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 12:24:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SunKj-0003nk-Kp for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 12:24:13 -0400 Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:27218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SunKj-0003ng-Ft for emacs-orgmode@gnu.org; Fri, 27 Jul 2012 12:24:09 -0400 In-Reply-To: Message from Alan Schmitt of "Fri\, 27 Jul 2012 17\:05\:21 +0200." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Alan Schmitt Cc: emacs-orgmode Alan Schmitt wrote: > Fran=C3=A7ois Allisson writes: >=20 > > One should add "up2::" in local.mk (with a double-colon). I've just > > done it, because I really like "make up2", and it's easier than ever: > > "make" and that's it. Great ! >=20 > It works great with one caveat: it's calling "sudo" to do the "make > install". As I install locally, I don't want to use sudo. Is it possible > to configure something in local.mk to do this? >=20 I said: ,---- | You can always redefine makefile variables on the command line: |=20 | make SUDO=3D up2 |=20 | will redefine SUDO to nothing for this run. `---- but I should also have added that you can redefine the variable in local.mk as well for more permanence: SUDO =3D local.mk is included *after* default.mk, which is where the SUDO =3D sudo line originally defines the SUDO variable, so it overrides the default. Nick