Patch-Source: https://github.com/tdtrask/lua-subprocess/commit/0d80d99a9bc4661d0bd655322b81e51c638ce11a -- From 0d80d99a9bc4661d0bd655322b81e51c638ce11a Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 29 Dec 2014 15:45:43 +0000 Subject: [PATCH] Add DESTDIR support to Makefile --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 61b54e1..41a15c0 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,8 @@ clean: .PHONY: install install: subprocess.so - $(INSTALL) -m755 subprocess.so $(INSTALL_CMOD)/ + mkdir -p $(DESTDIR)$(INSTALL_CMOD)/ + $(INSTALL) -m755 subprocess.so $(DESTDIR)$(INSTALL_CMOD)/ .PHONY: uninstall uninstall: