diff --git a/sys/unix/Makefile.doc b/sys/unix/Makefile.doc index 5beb3f9a0..bfe6a7981 100644 --- a/sys/unix/Makefile.doc +++ b/sys/unix/Makefile.doc @@ -81,7 +81,7 @@ $(MAKEDEFS) : ../util/makedefs.c ../include/config.h ../src/mdlib.c \ ( cd ../util ; make makedefs ) GAME = nethack -MANDIR = /usr/man/man6 +MANDIR ?= /usr/man/man6 MANEXT = 6 # manual installation for most BSD-style systems diff --git a/sys/unix/Makefile.top b/sys/unix/Makefile.top index 3b9dd0956..48d4803e1 100644 --- a/sys/unix/Makefile.top +++ b/sys/unix/Makefile.top @@ -173,6 +173,9 @@ Guidebook.pdf: manpages: ( cd doc ; $(MAKE) manpages ) +distrib: + ( cd doc ; $(MAKE) distrib ) + data: $(GAME) ( cd dat ; $(MAKE) data ) diff --git a/sys/unix/hints/linux.370 b/sys/unix/hints/linux.370 index 02ba95a77..c9c04f5b0 100755 --- a/sys/unix/hints/linux.370 +++ b/sys/unix/hints/linux.370 @@ -350,7 +350,9 @@ CHGRP=true VARDIRPERM = 0755 VARFILEPERM = 0600 GAMEPERM = 0755 - +# +# manpages directory +MANDIR=/usr/share/man/man6 # #-INCLUDE cross-pre.370 #