2 dnl Manpage stuff for CUPS.
4 dnl Copyright 2007-2016 by Apple Inc.
5 dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
7 dnl These coded instructions, statements, and computer programs are the
8 dnl property of Apple Inc. and are protected by Federal copyright
9 dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
10 dnl which should have been included with this file. If this file is
11 dnl file is missing or damaged, see the license at "http://www.cups.org/".
14 dnl Fix "mandir" variable...
15 if test "$mandir" = "\${datarootdir}/man" -a "$prefix" = "/"; then
16 # New GNU "standards" break previous ones, so make sure we use
17 # the right default location for the operating system...
18 mandir="\${prefix}/man"
21 if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/"; then
23 Darwin* | Linux | GNU | *BSD*)
24 # Darwin, macOS, Linux, GNU HURD, and *BSD
25 mandir="/usr/share/man"
26 AMANDIR="/usr/share/man"
27 PMANDIR="/usr/share/man"
44 dnl Setup manpage extensions...
54 Linux* | GNU* | Darwin*)
55 # Linux, GNU Hurd, and macOS