emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Peter Jones
Subject: [Orgmode] [PATCH] Allow 'prefix' to be set on the command line
Date: Mon, 02 Jun 2008 19:34:03 -0600
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

This patch allows you to:

  make install prefix=/some/path

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

>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

reply via email to

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