mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 07:02:29 +01:00
26 lines
716 B
Diff
26 lines
716 B
Diff
Patch-Source: https://github.com/tdtrask/lua-subprocess/commit/0d80d99a9bc4661d0bd655322b81e51c638ce11a
|
|
--
|
|
From 0d80d99a9bc4661d0bd655322b81e51c638ce11a Mon Sep 17 00:00:00 2001
|
|
From: Ted Trask <ttrask01@yahoo.com>
|
|
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:
|