Ivan Popov noticed that handling of PREFIX was bad.
authorEric Andersen <andersen@codepoet.org>
Sat, 26 Oct 2002 10:17:24 +0000 (10:17 -0000)
committerEric Andersen <andersen@codepoet.org>
Sat, 26 Oct 2002 10:17:24 +0000 (10:17 -0000)
 -Erik

Rules.mak

index 357529d1ad33b04527a2562b17b4f7fd03383ea0..f6022dc4d7bcb5e743ae55ec9143894083aa1dbf 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -190,7 +190,7 @@ ifeq ($(strip $(DOSTATIC)),true)
     LDFLAGS += --static
 endif
 
-ifndef $(PREFIX)
+ifeq ($(strip $(PREFIX)),)
     PREFIX:=`pwd`/_install
 endif