]> git.ipfire.org Git - thirdparty/cups.git/blame - config-scripts/cups-manpages.m4
Change the end copyright for Easy Software Products files to 2003.
[thirdparty/cups.git] / config-scripts / cups-manpages.m4
CommitLineData
ee1fd936 1dnl
997fbfa7 2dnl "$Id: cups-manpages.m4,v 1.7 2002/12/17 18:56:39 swdev Exp $"
ee1fd936 3dnl
4dnl Manpage stuff for the Common UNIX Printing System (CUPS).
5dnl
997fbfa7 6dnl Copyright 1997-2003 by Easy Software Products, all rights reserved.
ee1fd936 7dnl
8dnl These coded instructions, statements, and computer programs are the
9dnl property of Easy Software Products and are protected by Federal
10dnl copyright law. Distribution and use rights are outlined in the file
11dnl "LICENSE.txt" which should have been included with this file. If this
12dnl file is missing or damaged please contact Easy Software Products
13dnl at:
14dnl
15dnl Attn: CUPS Licensing Information
16dnl Easy Software Products
17dnl 44141 Airport View Drive, Suite 204
18dnl Hollywood, Maryland 20636-3111 USA
19dnl
20dnl Voice: (301) 373-9603
21dnl EMail: cups-info@cups.org
22dnl WWW: http://www.cups.org
23dnl
24
25dnl Fix "mandir" variable...
26if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/"; then
27 case "$uname" in
5d00553b 28 Darwin* | Linux* | *BSD* | AIX*)
6af143f3 29 # Darwin, MacOS X, Linux, *BSD, and AIX
ee1fd936 30 mandir="/usr/share/man"
31 AMANDIR="/usr/share/man"
6af143f3 32 PMANDIR="/usr/share/man"
ee1fd936 33 ;;
34 IRIX*)
35 # SGI IRIX
36 mandir="/usr/share/catman/u_man"
37 AMANDIR="/usr/share/catman/a_man"
6af143f3 38 PMANDIR="/usr/share/catman/p_man"
ee1fd936 39 ;;
40 *)
41 # All others
42 mandir="/usr/man"
43 AMANDIR="/usr/man"
6af143f3 44 PMANDIR="/usr/man"
ee1fd936 45 ;;
46 esac
47else
48 AMANDIR="$mandir"
6af143f3 49 PMANDIR="$mandir"
ee1fd936 50fi
51
52AC_SUBST(AMANDIR)
6af143f3 53AC_SUBST(PMANDIR)
ee1fd936 54
55dnl Setup manpage extensions...
56case "$uname" in
5d00553b 57 *BSD* | Darwin*)
ee1fd936 58 # *BSD
59 CAT1EXT=0
6af143f3 60 CAT3EXT=0
ee1fd936 61 CAT5EXT=0
62 CAT8EXT=0
63 MAN8EXT=8
b2e8a885 64 MAN8DIR=8
ee1fd936 65 ;;
66 IRIX*)
67 # SGI IRIX
68 CAT1EXT=z
6af143f3 69 CAT3EXT=z
ee1fd936 70 CAT5EXT=z
71 CAT8EXT=z
72 MAN8EXT=1m
b2e8a885 73 MAN8DIR=1
ee1fd936 74 ;;
75 SunOS* | HP-UX*)
76 # Solaris and HP-UX
77 CAT1EXT=1
6af143f3 78 CAT3EXT=3
ee1fd936 79 CAT5EXT=5
80 CAT8EXT=1m
81 MAN8EXT=1m
b2e8a885 82 MAN8DIR=1m
ee1fd936 83 ;;
84 *)
85 # All others
86 CAT1EXT=1
6af143f3 87 CAT3EXT=3
ee1fd936 88 CAT5EXT=5
89 CAT8EXT=8
90 MAN8EXT=8
b2e8a885 91 MAN8DIR=8
ee1fd936 92 ;;
93esac
94
95AC_SUBST(CAT1EXT)
6af143f3 96AC_SUBST(CAT3EXT)
ee1fd936 97AC_SUBST(CAT5EXT)
98AC_SUBST(CAT8EXT)
99AC_SUBST(MAN8EXT)
b2e8a885 100AC_SUBST(MAN8DIR)
ee1fd936 101
102dnl
997fbfa7 103dnl End of "$Id: cups-manpages.m4,v 1.7 2002/12/17 18:56:39 swdev Exp $".
ee1fd936 104dnl