emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] local.mk and up2 (Was: [OT] Configuring bbdb 3)


From: Nick Dokos
Subject: Re: [O] local.mk and up2 (Was: [OT] Configuring bbdb 3)
Date: Fri, 27 Jul 2012 12:24:06 -0400

Alan Schmitt <address@hidden> wrote:

> François Allisson <address@hidden> writes:
> 
> > 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 !
> 
> 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?
> 
I said:

,----
| You can always redefine makefile variables on the command line:
| 
|   make SUDO= up2
| 
| 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 =

local.mk is included *after* default.mk, which is where the

SUDO = sudo

line originally defines the SUDO variable, so it overrides the
default.

Nick



reply via email to

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