aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-11-29 11:59:20 +0100
committerJo-Philipp Wich <jo@mein.io>2018-11-29 12:07:32 +0100
commitd40e90986c65fb5678d5d1e2563efe4c44472d9f (patch)
treef28cbba0bdcc1ff30a087333a6ba11c1e9d11ac4
parentd40de11d1b2efb446139f206840327e4178f2de4 (diff)
downloadupstream-d40e90986c65fb5678d5d1e2563efe4c44472d9f.tar.gz
upstream-d40e90986c65fb5678d5d1e2563efe4c44472d9f.tar.bz2
upstream-d40e90986c65fb5678d5d1e2563efe4c44472d9f.zip
rules.mk: add INSTALL_SUID macro
This is useful for packages that want to stage SUID executables. Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit b0261ee5e9bcbc743960727b5aad1829250d1add)
-rw-r--r--rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index a97b2d2155..56ecbf2eb8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -276,6 +276,7 @@ PATCH:=patch
PYTHON:=python
INSTALL_BIN:=install -m0755
+INSTALL_SUID:install -m4755
INSTALL_DIR:=install -d -m0755
INSTALL_DATA:=install -m0644
INSTALL_CONF:=install -m0600