aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 08d1dff..2992073 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
.POSIX:
-CFLAGS = -Ofast -march=native -mtune=native -pipe -Wall -Wextra -Werror -pedantic
-PREFIX = /usr
+CFLAGS = -Ofast -march=native -mtune=native -pipe -Wall -Wextra -Werror -pedantic
+PREFIX = /usr
DPREFIX = ${DESTDIR}${PREFIX}
+MANDIR = ${DPREFIX}/share/man
target = center
@@ -13,6 +14,6 @@ clean:
rm -f ${target}
install:
- mkdir -p ${DPREFIX}/bin ${DPREFIX}/share/man/man1
+ mkdir -p ${DPREFIX}/bin ${MANDIR}/man1
cp ${target} ${DPREFIX}/bin
- cp ${target}.1 ${DPREFIX}/share/man/man1
+ cp ${target}.1 ${MANDIR}/man1