From da52bf9630a077d90e1338d818a3e179367058c4 Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Mon, 27 May 2013 21:08:02 +0200 Subject: separate DESTDIR and PAM_LIB_DIR --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5b60784..6905e9a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PAM_LIB_DIR ?= $(DESTDIR)/lib/security +PAM_LIB_DIR ?= /lib/security INSTALL ?= install CFLAGS ?= -O2 -g -Wall -Wformat-security @@ -27,8 +27,8 @@ md5_crypt_broken.o: md5_crypt.c install: $(LIBSHARED) - $(INSTALL) -m 0755 -d $(PAM_LIB_DIR) - $(INSTALL) -m 0755 $(LIBSHARED) $(PAM_LIB_DIR) + $(INSTALL) -m 0755 -d $(DESTDIR)$(PAM_LIB_DIR) + $(INSTALL) -m 0755 $(LIBSHARED) $(DESTDIR)$(PAM_LIB_DIR) clean: $(RM) *.o *.so -- cgit v1.2.3