aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-05-27 20:48:08 +0200
committerWynn Wolf Arbor2020-05-27 20:48:08 +0200
commite7b2b04c7090a81d00ed39b255b00ff7f55a3ad0 (patch)
tree7f93fc1f9933f903874248ab515d6cb0cbf0875d /Makefile
parent2f26d983640c35cc95df6106182b653c970540ac (diff)
downloadskein-e7b2b04c7090a81d00ed39b255b00ff7f55a3ad0.tar.gz
Remove project directory from LIBEXECDIR
LIBEXECDIR is used to give the location of the libexec directory and is not supposed to contain project-specific paths. Remove /skein from the variable such that users can modify LIBEXECDIR more freely.
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8f0a1e0..9c44387 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
PREFIX ?= /usr/local
-LIBEXECDIR ?= ${PREFIX}/libexec/skein
+LIBEXECDIR ?= ${PREFIX}/libexec
CFLAGS ?= -O2 -pipe -s
CFLAGS += -Wall -Wextra -Wpedantic -Werror
@@ -10,8 +10,8 @@ cgit-about-filter: cgit-about-filter.c
${CC} -o $@ ${CFLAGS} ${LDFLAGS} $<
install: cgit-chroot cgit-about-filter
- install -D -m 755 -t '${DESTDIR}${LIBEXECDIR}' cgit-chroot
- install -D -m 755 -t '${DESTDIR}${LIBEXECDIR}' cgit-about-filter
+ install -D -m 755 -t '${DESTDIR}${LIBEXECDIR}/skein' cgit-chroot
+ install -D -m 755 -t '${DESTDIR}${LIBEXECDIR}/skein' cgit-about-filter
clean:
rm cgit-about-filter