Otherwise, if I want to install all the man pages somewhere custom, I
have to set one variable for each section of the manual.
Signed-off-by: Alyssa Ross <
h...@alyssa.is>
---
Makefile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index d2f2ab6..97bf647 100644
--- a/Makefile
+++ b/Makefile
@@ -192,10 +192,11 @@ LDSCRIPTDIR = $(PREFIX)/share/libhugetlbfs/ldscripts
BINDIR = $(PREFIX)/share/libhugetlbfs
EXEDIR = $(PREFIX)/bin
DOCDIR = $(PREFIX)/share/doc/libhugetlbfs
-MANDIR1 = $(PREFIX)/share/man/man1
-MANDIR3 = $(PREFIX)/share/man/man3
-MANDIR7 = $(PREFIX)/share/man/man7
-MANDIR8 = $(PREFIX)/share/man/man8
+MANDIR = $(PREFIX)/share/man
+MANDIR1 = $(MANDIR)/man1
+MANDIR3 = $(MANDIR)/man3
+MANDIR7 = $(MANDIR)/man7
+MANDIR8 = $(MANDIR)/man8
ifdef LIB32
LIBPATHS += -DLIB32='"$(LIB32)"' -DLIBDIR32='"$(LIBDIR32)"'
--
2.27.0