]> granicus.if.org Git - sysstat/commitdiff
Moved manual pages from $prefix/man to $prefix/share/man.
authorSebastien Godard <sysstat@orange.fr>
Tue, 21 Sep 2010 19:52:17 +0000 (21:52 +0200)
committerSebastien Godard <sysstat@orange.fr>
Tue, 21 Sep 2010 19:52:17 +0000 (21:52 +0200)
Mail from Ivana Varekova (21/09/2010).
The Linux Filesystem Hierarchy now defines the default location for
manual pages as /usr/share/man instead of /usr/man.
So update sysstat to reflect this change.
See: http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/Linux-Filesystem-Hierarchy.html#usr

CHANGES
Makefile.in
configure
configure.in

diff --git a/CHANGES b/CHANGES
index c735411798a8bdbce6d11a122d4f5f6951a0c9dd..6ace908232b6096e81e4ef5ef20810c555859e1e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,8 @@ Changes:
 
 xxxx/xx/xx: Version 9.1.6 - Sebastien Godard (sysstat <at> orange.fr)
        * Added hugepages utilization statistics to sar.
+       * [Ivana Varekova]: Moved manual pages to $prefix/share/man
+         instead of $prefix/man.
        * sar manual page updated.
        * DTD and XSD documents updated.
        * Made sysstat git aware.
index d9b1261e1af643d63db465c1d6a68e03f63deb24..f897d50389459212a329e35d619b267cbbf32172 100644 (file)
@@ -46,9 +46,8 @@ BIN_DIR = @bindir@
 
 ifndef MAN_DIR
 # With recent versions of autoconf, mandir defaults to ${datarootdir}/man
-# (i.e. $prefix/share/man) which is not necessarily in man path!
-# MAN_DIR = @mandir@
-MAN_DIR = @AuxMandir@
+# (i.e. $prefix/share/man)
+MAN_DIR = @mandir@
 endif
 MAN1_DIR = $(MAN_DIR)/man1
 MAN8_DIR = $(MAN_DIR)/man8
index 97b9968c4a8d4275813a56bea7142e98c694b4b6..8bf0d8cdb57697b11be43d4977dbc0bbf767205e 100755 (executable)
--- a/configure
+++ b/configure
@@ -639,7 +639,6 @@ ac_subst_vars='LTLIBOBJS
 LIBOBJS
 DFLAGS
 WITH_DEBUG
-AuxMandir
 INSTALL_DOC
 REM_CHOWN
 QUOTE
@@ -7737,11 +7736,6 @@ $as_echo "$AUX_DOC" >&6; }
 
 
 # Set directory for installing manual pages (see comment in Makefile)
-if test $mandir != "\${datarootdir}/man"; then
-       AuxMandir=$mandir
-else
-       AuxMandir=$AuxPrefix/man
-fi
 
 
 # Check whether --debuginfo options should be allowed
@@ -8942,7 +8936,7 @@ echo "
    rc directory:               ${RC_DIR}
    Init directory:             ${INIT_DIR}
    Configuration directory:    ${SYSCONFIG_DIR}
-   Man pages directory:                $AuxMandir
+   Man pages directory:                $mandir
    Compiler:                   $CC
    Compiler flags:             $CFLAGS
 "
index 79c2ec33be99dd0054bb73a29ff2d974aea3b14a..b5b469226cd45ff5224d648258679bbe6511ddf0 100644 (file)
@@ -475,12 +475,7 @@ AC_MSG_RESULT($AUX_DOC)
 AC_SUBST(INSTALL_DOC)
 
 # Set directory for installing manual pages (see comment in Makefile)
-if test $mandir != "\${datarootdir}/man"; then
-       AuxMandir=$mandir
-else
-       AuxMandir=$AuxPrefix/man
-fi
-AC_SUBST(AuxMandir)
+AC_SUBST(mandir)
 
 # Check whether --debuginfo options should be allowed
 AC_ARG_ENABLE(debuginfo, 
@@ -521,7 +516,7 @@ echo "
    rc directory:               ${RC_DIR}
    Init directory:             ${INIT_DIR}
    Configuration directory:    ${SYSCONFIG_DIR}
-   Man pages directory:                $AuxMandir
+   Man pages directory:                $mandir
    Compiler:                   $CC
    Compiler flags:             $CFLAGS
 "