From: Nick Dokos <nicholas.dokos@hp.com>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: local.mk and up2 (Was: [OT] Configuring bbdb 3)
Date: Fri, 27 Jul 2012 12:24:06 -0400 [thread overview]
Message-ID: <22269.1343406246@alphaville> (raw)
In-Reply-To: Message from Alan Schmitt <alan.schmitt@polytechnique.org> of "Fri\, 27 Jul 2012 17\:05\:21 +0200." <m2k3xpfdn2.fsf_-_@polytechnique.org>
Alan Schmitt <alan.schmitt@polytechnique.org> wrote:
> François Allisson <francois@allisson.co> 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
next prev parent reply other threads:[~2012-07-27 16:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-25 17:30 [OT] Configuring bbdb 3 Alan Schmitt
2012-07-25 20:51 ` Myles English
2012-07-26 3:52 ` Eric Abrahamsen
2012-07-26 4:38 ` Achim Gratz
2012-07-26 11:12 ` Eric Abrahamsen
2012-07-26 13:46 ` Nick Dokos
2012-07-26 18:10 ` Achim Gratz
2012-07-26 19:55 ` François Allisson
2012-07-27 3:06 ` Eric Abrahamsen
2012-07-27 15:05 ` local.mk and up2 (Was: [OT] Configuring bbdb 3) Alan Schmitt
2012-07-27 16:14 ` Nick Dokos
2012-07-27 16:24 ` Nick Dokos [this message]
2012-07-28 10:56 ` local.mk and up2 Alan Schmitt
2012-07-27 18:08 ` Achim Gratz
2012-07-26 8:10 ` [OT] Configuring bbdb 3 Alan Schmitt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=22269.1343406246@alphaville \
--to=nicholas.dokos@hp.com \
--cc=alan.schmitt@polytechnique.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).