aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-05-27 21:54:53 +0200
committerWynn Wolf Arbor2020-05-27 21:54:53 +0200
commit14cb1906beaf9f0c79bb3e80d0ba12e521a69c8c (patch)
treeae06f074a6a8311b4ad9bb65d6d95a0afd5ed72e
parent5d12f42bb6d8f339dbe76689a0fb2afa51f994d9 (diff)
downloadskein-14cb1906beaf9f0c79bb3e80d0ba12e521a69c8c.tar.gz
Makefile: Install skein-infra into sbin/ instead of libexec/
Since system administrators might want to call this utility manually, install it into sbin/ instead of libexec/.
Diffstat (limited to '')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 02257a8..cf54451 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
PREFIX ?= /usr/local
LIBEXECDIR ?= ${PREFIX}/libexec
+SBINDIR ?= ${PREFIX}/sbin
CFLAGS ?= -O2 -pipe -s
CFLAGS += -Wall -Wextra -Wpedantic -Werror
@@ -11,7 +12,7 @@ cgit-about-filter: cgit-about-filter.c
install: cgit-about-filter skein-infra
install -D -m 755 -t '${DESTDIR}${LIBEXECDIR}/skein' cgit-about-filter
- install -D -m 755 -t '${DESTDIR}${LIBEXECDIR}/skein' skein-infra
+ install -D -m 755 -t '${DESTDIR}${SBINDIR}' skein-infra
clean:
rm cgit-about-filter