]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | dnl |
5a1d7a17 | 2 | dnl Manpage stuff for CUPS. |
ef416fc2 | 3 | dnl |
87030afb MS |
4 | dnl Copyright © 2007-2019 by Apple Inc. |
5 | dnl Copyright © 1997-2006 by Easy Software Products, all rights reserved. | |
ef416fc2 | 6 | dnl |
87030afb MS |
7 | dnl Licensed under Apache License v2.0. See the file "LICENSE" for more |
8 | dnl information. | |
ef416fc2 | 9 | dnl |
10 | ||
11 | dnl Fix "mandir" variable... | |
d09495fa | 12 | if test "$mandir" = "\${datarootdir}/man" -a "$prefix" = "/"; then |
13 | # New GNU "standards" break previous ones, so make sure we use | |
14 | # the right default location for the operating system... | |
15 | mandir="\${prefix}/man" | |
16 | fi | |
17 | ||
ef416fc2 | 18 | if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/"; then |
105922ec | 19 | case "$host_os_name" in |
4466c8ca | 20 | darwin* | linux* | gnu* | *bsd*) |
d4874933 | 21 | # Darwin, macOS, Linux, GNU HURD, and *BSD |
ef416fc2 | 22 | mandir="/usr/share/man" |
ef416fc2 | 23 | ;; |
ef416fc2 | 24 | *) |
25 | # All others | |
26 | mandir="/usr/man" | |
ef416fc2 | 27 | ;; |
28 | esac | |
ef416fc2 | 29 | fi |