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:51 +0100
commit89ed2d6f782fe7fc31deb25724764bc413c7e23f (patch)
treea8f2b83847b51ee8aa70f25fb6c8c7d76cd466b3
parente42415723bbc49b1d0bd3659915bb463bae066f0 (diff)
downloadupstream-89ed2d6f782fe7fc31deb25724764bc413c7e23f.tar.gz
upstream-89ed2d6f782fe7fc31deb25724764bc413c7e23f.tar.bz2
upstream-89ed2d6f782fe7fc31deb25724764bc413c7e23f.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 5710a84fe7..926e2d1b10 100644
--- a/rules.mk
+++ b/rules.mk
@@ -265,6 +265,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