[PATCH 3/3] Makefile: don't override DESTDIR, prefix, bindir and mandir

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

 



This eases packaging rt-tests and shouldn't have any further impact.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
---
 Makefile |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 294d588..e139eb4 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,10 @@ VERSION_STRING = "0.38"
 TARGETS	= cyclictest signaltest classic_pi pi_stress
 FLAGS	= -Wall -Wno-nonnull -O2
 LIBS 	= -lpthread -lrt
-DESTDIR	=
-prefix  = /usr/local
-bindir  = $(prefix)/bin
-mandir	= $(prefix)/share/man/man8
+DESTDIR	?=
+prefix  ?= /usr/local
+bindir  ?= $(prefix)/bin
+mandir	?= $(prefix)/share/man/man8
 
 all: $(TARGETS)
 
-- 
1.6.2.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux