summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Weingärtner <timo@tiwe.de>2013-05-27 21:08:02 +0200
committerTimo Weingärtner <timo@tiwe.de>2013-05-27 21:08:02 +0200
commitda52bf9630a077d90e1338d818a3e179367058c4 (patch)
tree4d85b73cffee2cc7fd37d3e10e3b43fc5dbbde8a
parente493c1467bbaebfbaf2a9a6b1da3398b76232ce5 (diff)
downloadlibpam-pwdfile-da52bf9630a077d90e1338d818a3e179367058c4.tar.gz
separate DESTDIR and PAM_LIB_DIR
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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