From f55deeb0da0fe02cc3ff713e0a02057764b860a0 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 2 Nov 2009 14:34:15 +0100 Subject: [PATCH] Capitalize prefix variable. As noted by Steffen Schmidt, in most projects the installation prefix is spelled in caps, so follow this rule in osl. Also use ?:= as the assignement operator as it creates a simply expanded variable which is more suitable for the PREFIX variable. --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index fc134bf..ef12cb8 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ # where to install -prefix := /usr/local -libdir := $(prefix)/lib -includedir := $(prefix)/include -bindir := $(prefix)/bin -mandir := $(prefix)/man/man1 +PREFIX ?:= /usr/local +libdir := $(PREFIX)/lib +includedir := $(PREFIX)/include +bindir := $(PREFIX)/bin +mandir := $(PREFIX)/man/man1 objects := osl.o util.o rbtree.o sha1.o fsck_objects := fsck.fsck.o osl.fsck.o util.fsck.o rbtree.fsck.o sha1.fsck.o fsck.cmdline.o -- 2.30.2