This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Spelling - megapatch
[metaconfig.git] / U / installdirs / siteman3.U
CommitLineData
0fdea05a
JH
1?RCS: $Id$
2?RCS:
3?RCS: Copyright (c) 1999 Jarkko Hietaniemi
417f7b66 4?RCS:
65a32477 5?RCS: You may redistribute only under the terms of the Artistic License,
0fdea05a
JH
6?RCS: as specified in the README file that comes with the distribution.
7?RCS: You may reuse parts of this distribution only within the terms of
65a32477 8?RCS: that same Artistic License; a copy of which may be found at the root
0fdea05a
JH
9?RCS: of the source tree for dist 3.0.
10?RCS:
417f7b66
MB
11?MAKE:siteman3 siteman3exp installsiteman3: test Getfile Setprefixvar \
12 prefix siteprefix man3dir sed
0fdea05a
JH
13?MAKE: -pick add $@ %<
14?Y:TOP
417f7b66 15?D:siteman3=''
0fdea05a
JH
16?S:siteman3:
17?S: This variable contains the name of the directory in which site-specific
18?S: library man source pages are to be put. It is the responsibility of the
19?S: Makefile.SH to get the value of this into the proper command.
20?S: You must be prepared to do the ~name expansion yourself.
21?S: The standard distribution will put nothing in this directory.
22?S: After perl has been installed, users may install their own local
23?S: man3 pages in this directory with
24?S: MakeMaker Makefile.PL
25?S: or equivalent. See INSTALL for details.
26?S:.
417f7b66 27?D:siteman3exp=''
0fdea05a
JH
28?S:siteman3exp:
29?S: This variable is the same as the siteman3 variable, but is filename
30?S: expanded at configuration time, for convenient use in makefiles.
31?S:.
417f7b66 32?D:installsiteman3=''
0fdea05a
JH
33?S:installsiteman3:
34?S: This variable is really the same as siteman3exp, unless you are using
35?S: AFS in which case it points to the read/write location whereas
36?S: man3direxp only points to the read-only access location. For extra
37?S: portability, you should only use this variable within your makefiles.
38?S:.
c6d164da
MB
39?LINT:change prefixvar
40?LINT:set installsiteman3
41?LINT:set siteman3exp
0fdea05a
JH
42: determine where add-on library man pages go
43case "$siteman3" in
44'') dflt=`echo "$man3dir" | $sed "s#^$prefix#$siteprefix#"` ;;
45*) dflt=$siteman3 ;;
46esac
47case "$dflt" in
48''|' ') dflt=none ;;
49esac
50fn=dn+~
51rp='Pathname where the site-specific library manual pages should be installed?'
52. ./getfile
417f7b66
MB
53prefixvar=siteman3
54. ./setprefixvar
0fdea05a
JH
55: Use ' ' for none so value is preserved next time through Configure
56$test X"$siteman3" = "X" && siteman3=' '
0fdea05a 57