summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d45757c..15661a0 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ BINDIR?=$(PREFIX)/bin
DATADIR?=$(PREFIX)/share
MANDIR?=$(DATADIR)/man
MAN1DIR?=$(MANDIR)/man1
+MAN5DIR?=$(MANDIR)/man5
LIBDIR?=$(PREFIX)/lib
SYSDDIR?=$(LIBDIR)/systemd/system
USERSDIR?=$(LIBDIR)/sysusers.d
@@ -19,12 +20,14 @@ clean:
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)$(SYSDDIR) mirror.{timer,service}
install -m644 -Dt $(DESTDIR)$(USERSDIR) mirror.conf
uninstall:
rm -f $(DESTDIR)$(BINDIR)/mirror
rm -f $(DESTDIR)$(MAN1DIR)/mirror.1
+ rm -f $(DESTDIR)$(MAN5DIR)/mirror.5
rm -f $(DESTDIR)$(SYSDDIR)/mirror.{timer,service}
rm -f $(DESTDIR)$(USERSDIR)/mirror.conf