aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-05-28 18:49:11 +0200
committerWynn Wolf Arbor2020-05-28 18:49:11 +0200
commit31b95084abb39fbb0814ba86aec442782aef112f (patch)
tree32da3f22c9403242ce42b984dfab6448fb6a11d5 /Makefile
parenta8207a5d773c514b07b555e256394b100c3df169 (diff)
downloadskein-31b95084abb39fbb0814ba86aec442782aef112f.tar.gz
Add documentation for skein(7) and skein-infra(8)0.1.0
Diffstat (limited to '')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cf54451..3202fb7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
PREFIX ?= /usr/local
LIBEXECDIR ?= ${PREFIX}/libexec
SBINDIR ?= ${PREFIX}/sbin
+MANDIR ?= ${PREFIX}/share/man
CFLAGS ?= -O2 -pipe -s
CFLAGS += -Wall -Wextra -Wpedantic -Werror
@@ -10,9 +11,11 @@ LDFLAGS ?= -static
cgit-about-filter: cgit-about-filter.c
${CC} -o $@ ${CFLAGS} ${LDFLAGS} $<
-install: cgit-about-filter skein-infra
+install: cgit-about-filter skein-infra skein.7 skein-infra.8
install -D -m 755 -t '${DESTDIR}${LIBEXECDIR}/skein' cgit-about-filter
install -D -m 755 -t '${DESTDIR}${SBINDIR}' skein-infra
+ install -D -m 644 -t '${DESTDIR}${MANDIR}/man7' skein.7
+ install -D -m 644 -t '${DESTDIR}${MANDIR}/man8' skein-infra.8
clean:
rm cgit-about-filter