about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index aab3d06..3e2e147 100644
--- a/Makefile
+++ b/Makefile
@@ -27,11 +27,14 @@ clean: FRC
 	-rm -f $(ALL) *.o
 
 install: FRC all
-	mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
+	mkdir -p $(DESTDIR)$(BINDIR) \
+		$(DESTDIR)$(MANDIR)/man1 \
+		$(DESTDIR)$(MANDIR)/man7
 	install -m0755 $(ALL) $(SCRIPT) $(DESTDIR)$(BINDIR)
 	ln -sf mless $(DESTDIR)$(BINDIR)/mnext
 	ln -sf mless $(DESTDIR)$(BINDIR)/mprev
 	ln -sf mrep $(DESTDIR)$(BINDIR)/mcom
-	install -m0644 man/*.[0-9] $(DESTDIR)$(MANDIR)/man1
+	install -m0644 man/*.1 $(DESTDIR)$(MANDIR)/man1
+	install -m0644 man/*.7 $(DESTDIR)$(MANDIR)/man7
 
 FRC: