]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - config-scripts/cups-manpages.m4
Fix source file header text duplication text duplication.
[thirdparty/cups.git] / config-scripts / cups-manpages.m4
index 7420433c533a84f3796b387f957da87af5e028b1..00a8c76cc7f1396d06e6739ec1a9f86866c69ef7 100644 (file)
@@ -1,16 +1,14 @@
 dnl
-dnl "$Id: cups-manpages.m4 6649 2007-07-11 21:46:42Z mike $"
+dnl Manpage stuff for CUPS.
 dnl
-dnl   Manpage stuff for CUPS.
+dnl Copyright 2007-2016 by Apple Inc.
+dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
 dnl
-dnl   Copyright 2007-2012 by Apple Inc.
-dnl   Copyright 1997-2006 by Easy Software Products, all rights reserved.
-dnl
-dnl   These coded instructions, statements, and computer programs are the
-dnl   property of Apple Inc. and are protected by Federal copyright
-dnl   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
-dnl   which should have been included with this file.  If this file is
-dnl   file is missing or damaged, see the license at "http://www.cups.org/".
+dnl These coded instructions, statements, and computer programs are the
+dnl property of Apple Inc. and are protected by Federal copyright
+dnl law.  Distribution and use rights are outlined in the file "LICENSE.txt"
+dnl which should have been included with this file.  If this file is
+dnl missing or damaged, see the license at "http://www.cups.org/".
 dnl
 
 dnl Fix "mandir" variable...
@@ -22,18 +20,12 @@ fi
 
 if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/"; then
        case "$uname" in
-               Darwin* | Linux | GNU | *BSD* | AIX*)
-                       # Darwin, MacOS X, Linux, GNU HURD, *BSD, and AIX
+               Darwin* | Linux | GNU | *BSD*)
+                       # Darwin, macOS, Linux, GNU HURD, and *BSD
                        mandir="/usr/share/man"
                        AMANDIR="/usr/share/man"
                        PMANDIR="/usr/share/man"
                        ;;
-               IRIX)
-                       # SGI IRIX
-                       mandir="/usr/share/catman/u_man"
-                       AMANDIR="/usr/share/catman/a_man"
-                       PMANDIR="/usr/share/catman/p_man"
-                       ;;
                *)
                        # All others
                        mandir="/usr/man"
@@ -51,16 +43,8 @@ AC_SUBST(PMANDIR)
 
 dnl Setup manpage extensions...
 case "$uname" in
-       IRIX*)
-               # SGI IRIX
-               MAN1EXT=1
-               MAN5EXT=5
-               MAN7EXT=7
-               MAN8EXT=1m
-               MAN8DIR=1
-               ;;
-       SunOS* | HP-UX*)
-               # Solaris and HP-UX
+       SunOS*)
+               # Solaris
                MAN1EXT=1
                MAN5EXT=5
                MAN7EXT=7
@@ -68,7 +52,7 @@ case "$uname" in
                MAN8DIR=1m
                ;;
        Linux* | GNU* | Darwin*)
-               # Linux, GNU Hurd, and OS X
+               # Linux, GNU Hurd, and macOS
                MAN1EXT=1.gz
                MAN5EXT=5.gz
                MAN7EXT=7.gz
@@ -90,7 +74,3 @@ AC_SUBST(MAN5EXT)
 AC_SUBST(MAN7EXT)
 AC_SUBST(MAN8EXT)
 AC_SUBST(MAN8DIR)
-
-dnl
-dnl End of "$Id: cups-manpages.m4 6649 2007-07-11 21:46:42Z mike $".
-dnl