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