This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix typo.
[metaconfig.git] / U / installdirs / sitehtml1dir.U
CommitLineData
959f3c4c
JH
1?RCS: $Id$
2?RCS:
3?RCS: Copyright (c) 1999 Jarkko Hietaniemi
4?RCS:
5?RCS: You may redistribute only under the terms of the Artistic Licence,
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
8?RCS: that same Artistic Licence; a copy of which may be found at the root
9?RCS: of the source tree for dist 3.0.
10?RCS:
11?MAKE:sitehtml1dir sitehtml1direxp installsitehtml1dir: test Getfile \
12 prefix installprefix siteprefix html1dir sed
13?MAKE: -pick add $@ %<
14?Y:TOP
15?S:sitehtml1dir:
16?S: This variable contains the name of the directory in which site-specific
17?S: html source pages are to be put. It is the responsibility of the
18?S: Makefile.SH to get the value of this into the proper command.
19?S: You must be prepared to do the ~name expansion yourself.
20?S:.
21?S:sitehtml1direxp:
22?S: This variable is the same as the sitehtml1dir variable, but is filename
23?S: expanded at configuration time, for convenient use in makefiles.
24?S:.
25?S:installsitehtml1dir:
26?S: This variable is really the same as sitehtml1direxp, unless you are using
27?S: AFS in which case it points to the read/write location whereas
28?S: html1direxp only points to the read-only access location. For extra
29?S: portability, you should only use this variable within your makefiles.
30?S:.
31: determine where add-on html pages go
32case "$sitehtml1dir" in
33'') dflt=`echo $html1dir | $sed "s#^$prefix#$siteprefix$#"`
34*) dflt=$sitehtml1dir ;;
35esac
36fn=d~
37rp='Pathname where the site-specific html pages should be installed?'
38. ./getfile
39sitehtml1dir="$ans"
40sitehtml1direxp="$ansexp"
41: Change installation prefix, if necessary.
42if $test X"$prefix" != X"$installprefix"; then
57a656d5 43 installsitehtml1dir=`echo $sitehtml1direxp | $sed "s#^$prefix#$installprefix#"`
959f3c4c
JH
44else
45 installsitehtml1dir="$sitehtml1direxp"
46fi
47