summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-01-06 00:23:27 +0100
committerAki <please@ignore.pl>2024-01-06 00:23:27 +0100
commit257b9b25ff895e342af9bb9d35f07a816421af02 (patch)
treef3d9c0ee4fc0e09ebad51c05a06c9df0c4445c3d /Makefile
parent935b6214611eb24c1ed73409b77448a9606263a9 (diff)
downloadmirror-257b9b25ff895e342af9bb9d35f07a816421af02.zip
mirror-257b9b25ff895e342af9bb9d35f07a816421af02.tar.gz
mirror-257b9b25ff895e342af9bb9d35f07a816421af02.tar.bz2
Tweak and add manpages even if too simple
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 15661a0..e947e18 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ DATADIR?=$(PREFIX)/share
MANDIR?=$(DATADIR)/man
MAN1DIR?=$(MANDIR)/man1
MAN5DIR?=$(MANDIR)/man5
+MAN8DIR?=$(MANDIR)/man8
LIBDIR?=$(PREFIX)/lib
SYSDDIR?=$(LIBDIR)/systemd/system
USERSDIR?=$(LIBDIR)/sysusers.d
@@ -21,6 +22,7 @@ install: all
install -m755 -Dt $(DESTDIR)$(BINDIR) mirror
install -m644 -Dt $(DESTDIR)$(MAN1DIR) mirror.1
install -m644 -Dt $(DESTDIR)$(MAN5DIR) mirror.5
+ install -m644 -Dt $(DESTDIR)$(MAN8DIR) mirror.{timer,service}.8
install -m644 -Dt $(DESTDIR)$(SYSDDIR) mirror.{timer,service}
install -m644 -Dt $(DESTDIR)$(USERSDIR) mirror.conf
@@ -28,6 +30,7 @@ uninstall:
rm -f $(DESTDIR)$(BINDIR)/mirror
rm -f $(DESTDIR)$(MAN1DIR)/mirror.1
rm -f $(DESTDIR)$(MAN5DIR)/mirror.5
+ rm -f $(DESTDIR)$(MAN8DIR)/mirror.{timer.service}.8
rm -f $(DESTDIR)$(SYSDDIR)/mirror.{timer,service}
rm -f $(DESTDIR)$(USERSDIR)/mirror.conf