git.fiddlerwoaroof.com
Browse code

CJPM-5222 destination dir in makefile

Greg Wiley authored on 04/04/2017 00:18:37
Showing 1 changed files
... ...
@@ -36,7 +36,7 @@ test: dual_control_test
36 36
 .PHONY: install
37 37
 install: $(MODULEOBJS)
38 38
 ifeq ($(UNAME_S), Linux)
39
-	ld -x --shared -o @PAM_MODULE_DIRECTORY@/$(MODULELIB) $(MODULEOBJS)
39
+	ld -x --shared -o ${DESTDIR}@PAM_MODULE_DIRECTORY@/$(MODULELIB) $(MODULEOBJS)
40 40
 else
41 41
 	@echo installation recipe not known for $(UNAME_S)
42 42
 endif