fix manpages installation path (double typo) - ploot - simple plotting tools | |
git clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 31b46028c927b86c8ba1400fd99554154b709f57 | |
parent 18a41de0122bffc4889534a5a4cb27e2e875291c | |
Author: Josuah Demangeon <[email protected]> | |
Date: Wed, 7 Sep 2022 12:40:52 +0200 | |
fix manpages installation path (double typo) | |
Diffstat: | |
M Makefile | 8 ++++---- | |
1 file changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -5,7 +5,7 @@ D = -D_POSIX_C_SOURCE=200811L -D_DEFAULT_SOURCE | |
CFLAGS = -Wall -Wextra -std=c99 -pedantic $W $D -fPIC | |
LDFLAGS = -static | |
PREFIX = /usr/local | |
-MANOREFIX = $(PREFIX)/share/man | |
+MANPREFIX = $(PREFIX)/share/man | |
LIBS = -lm | |
SRC = tsv.c drawille.c font.c font13.c font8.c util.c | |
@@ -23,10 +23,10 @@ ${BIN}: ${OBJ} ${BIN:=.o} | |
${CC} ${LDFLAGS} -o $@ [email protected] ${OBJ} ${LIBS} | |
install: ${BIN} | |
- mkdir -p ${PREFIX}/bin ${MANDIR}/man1 ${MANDIR}/man5 | |
+ mkdir -p ${PREFIX}/bin ${MANPREFIX}/man1 ${MANPREFIX}/man5 | |
cp ${BIN} ${PREFIX}/bin | |
- cp *.1 ${MANDIR}/man1 | |
- cp *.5 ${MANDIR}/man5 | |
+ cp *.1 ${MANPREFIX}/man1 | |
+ cp *.5 ${MANPREFIX}/man5 | |
clean: | |
rm -f *.o ${BIN} |