aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorBernd Eckenfels <net-tools@lina.inka.de>2000-10-08 00:12:30 +0000
committerBernd Eckenfels <net-tools@lina.inka.de>2000-10-08 00:12:30 +0000
commitd148a02572eb0c9ae112fcca9aadf5f16b6b0027 (patch)
tree0af7bb96941258bfe1b39128a096edcd9e73c63c /man
parentRemove my email address from the ifconfig manpage. (diff)
downloadnet-tools-d148a02572eb0c9ae112fcca9aadf5f16b6b0027.tar.gz
net-tools-d148a02572eb0c9ae112fcca9aadf5f16b6b0027.tar.bz2
net-tools-d148a02572eb0c9ae112fcca9aadf5f16b6b0027.zip
added mandir= and default it to /usr/share/man (patch from Jeff Johnson, RH)
Diffstat (limited to 'man')
-rw-r--r--man/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/man/Makefile b/man/Makefile
index ebf04df..4ef1af8 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -5,7 +5,7 @@
# NET-3 Networking Distribution for the LINUX operating
# system.
#
-# Version: Makefile 0.02 (1998-07-01)
+# Version: Makefile 0.03 (2000-10-08)
#
# Authors: Bernd Eckenfels <net-tools@lina.inka.de>
# Arnaldo Carvalhoa de Melo <acme@conectiva.com.br>
@@ -14,6 +14,8 @@
#
#960322 {0.01} Bernd Eckenfels: creation to make main Makefile cleaner
#980701 {0.02} Arnaldo C. Melo: making the main Makefile *more* cleaner :)
+#001008 {0.03} Bernd Eckenfels: RH patch for FHS (man page now in mandir)
+#
#
# This program is free software; you can redistribute it
# and/or modify it under the terms of the GNU General
@@ -23,6 +25,7 @@
#
INSTALL=install
+mandir=/usr/share/man
-include ../config.make
ifeq ($(I18N),1)
@@ -45,9 +48,9 @@ install:
cd $$LANG; \
for SECTION in 1 5 8; do \
if [ "$$LANG" = "en_US" ] ; then \
- MAN_DIR=${BASEDIR}/usr/man/man$$SECTION; \
+ MAN_DIR=${BASEDIR}${mandir}/man$$SECTION; \
else \
- MAN_DIR=${BASEDIR}/usr/man/$$LANG/man$$SECTION; \
+ MAN_DIR=${BASEDIR}${mandir}/$$LANG/man$$SECTION; \
fi ; \
CMDS=`ls *.$$SECTION`; \
[ -z "$$CMDS" ] && continue; \