summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattia Dongili <malattia@linux.it>2006-04-17 01:17:10 +0200
committerPeter Osterlund <petero2@telia.com>2006-04-17 01:17:10 +0200
commitf96473ad4ce0ae1aa7ad42900c9e4df5fb9b7b42 (patch)
tree332af3d58a41eecb7064d9a8df5026a45486ac3a
parent205edb2a3e4e864fba35c1f3df9ea70adf83b2b8 (diff)
Makes $(PREFIX) configurable on the command line.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 768c3fe..6acebfe 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ VERSION_ID=($(VER_LEVEL_1)*10000+$(VER_LEVEL_2)*100+$(VER_LEVEL_3))
# Define the TOP variable to build using include files from a local source tree.
#TOP = /usr/src/redhat/BUILD/XFree86-4.3.0/xc
-PREFIX = /usr/local
+PREFIX ?= /usr/local
INSTALLED_X = $(DESTDIR)/usr/X11R6
LOCAL_X = Xincludes/usr/X11R6
BINDIR = $(DESTDIR)$(PREFIX)/bin