aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-09-08 21:18:04 +0000
committerOmar Polo <op@omarpolo.com>2022-09-08 21:18:04 +0000
commit3eabd37fe7586fca2ca5f83411849ff7dd4cebd2 (patch)
tree0c611fb33730bb9f2d739f036184052b06b2994f /Makefile
parent9b15e4c62807eda8a248e6df7ac0603a6b9331cc (diff)
adjust install/uninstall target
gmid.1 was moved as gmid.8 and now we have `ge' too
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index be1a744..e3812d9 100644
--- a/Makefile
+++ b/Makefile
@@ -132,8 +132,9 @@ EXTRAS = ChangeLog \
README.md \
configure \
configure.local.example \
+ ge.1 \
gg.1 \
- gmid.1 \
+ gmid.8 \
gmid.conf.5
CONTRIB = contrib/Dockerfile \
@@ -197,23 +198,27 @@ test: regress
regress: all
${MAKE} 'TESTS=${TESTS}' -C regress all
-install: gmid gg
+install: gmid gg ge
mkdir -p ${DESTDIR}${BINDIR}
mkdir -p ${DESTDIR}${MANDIR}/man1
mkdir -p ${DESTDIR}${MANDIR}/man5
+ mkdir -p ${DESTDIR}${MANDIR}/man8
${INSTALL_PROGRAM} gmid ${DESTDIR}${BINDIR}
${INSTALL_PROGRAM} gg ${DESTDIR}${BINDIR}
- ${INSTALL_MAN} gmid.1 ${DESTDIR}${MANDIR}/man1
+ ${INSTALL_PROGRAM} ge ${DESTDIR}${BINDIR}
+ ${INSTALL_MAN} gmid.8 ${DESTDIR}${MANDIR}/man8
${INSTALL_MAN} gmid.conf.5 ${DESTDIR}${MANDIR}/man5
${INSTALL_MAN} ge.1 ${DESTDIR}${MANDIR}/man1
${INSTALL_MAN} gg.1 ${DESTDIR}${MANDIR}/man1
uninstall:
+ rm ${DESTDIR}${BINDIR}/ge
rm ${DESTDIR}${BINDIR}/gg
rm ${DESTDIR}${BINDIR}/gmid
+ rm ${DESTDIR}${MANDIR}/man1/ge.1
rm ${DESTDIR}${MANDIR}/man1/gg.1
- rm ${DESTDIR}${MANDIR}/man1/gmid.1
rm ${DESTDIR}${MANDIR}/man5/gmid.conf.5
+ rm ${DESTDIR}${MANDIR}/man8/gmid.8
# make sure we pass -o to ${CC}. OpenBSD default suffix rule doesn't
.SUFFIXES: .c .o