emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] [PATCH] Allow 'prefix' to be set on the command line


From: Carsten Dominik
Subject: Re: [Orgmode] [PATCH] Allow 'prefix' to be set on the command line
Date: Sun, 15 Jun 2008 09:12:55 +0200


On Jun 3, 2008, at 3:34 AM, Peter Jones wrote:

This patch allows you to:

 make install prefix=/some/path

Makes installing Org-mode in a non-standard path a bit easier.

I have noticed that at least my version of make (GNU make 3.81) does allow me to set the prefix like that out of the box, without the need add the "?" before the = sign.


So I am now inclined to to remove this change again. Peter, which version of make do *not* allow the prefix to be specified in this way?

- Carsten



From e0b6b847c6b8a4b0c41aff3bab0ea2fe5e45c082 Mon Sep 17 00:00:00 2001
From: Peter Jones <address@hidden>
Date: Thu, 29 May 2008 21:22:59 -0600
Subject: [PATCH] Allow 'prefix' to be set on the command line

This patch allows you to:

 make install prefix=/some/path
---
Makefile |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 35684f3..19fa9ca 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@
EMACS=emacs

# Where local software is found
-prefix=/usr/local
+prefix?=/usr/local

# Where local lisp files go.
lispdir = $(prefix)/share/emacs/site-lisp
--
1.5.4.4


--
Peter Jones, pmade inc.
http://pmade.com
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

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