Debian Codegraph @

regen-configure/U/installdirs/html3dir.U

raw
1 ?RCS: $Id: html3dir.U,v $
2 ?RCS:
3 ?RCS: Copyright (c) 1999 Andy Dougherty
4 ?RCS:
5 ?RCS: You may redistribute only under the terms of the Artistic License,
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 License; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 3.0.
10 ?RCS:
11 ?RCS: $Log: html3dir.U,v $
12 ?RCS:
13 ?MAKE:html3dir html3direxp installhtml3dir: cat sed Loc Myread \
14 spackage test Getfile Setprefixvar Prefixit Prefixup html1dir
15 ?MAKE: -pick add $@ %<
16 ?Y:TOP
17 ?D:html3dir=''
18 ?S:html3dir:
19 ?S: This variable contains the name of the directory in which html
20 ?S: source pages are to be put. This directory is for pages
21 ?S: that describe libraries or modules. It is intended to
22 ?S: correspond roughly to section 3 of the Unix manuals.
23 ?S:.
24 ?D:html3direxp=''
25 ?S:html3direxp:
26 ?S: This variable is the same as the html3dir variable, but is filename
27 ?S: expanded at configuration time, for convenient use in makefiles.
28 ?S:.
29 ?D:installhtml3dir=''
30 ?S:installhtml3dir:
31 ?S: This variable is really the same as html3direxp, unless you are
32 ?S: using a different installprefix. For extra portability, you
33 ?S: should only use this variable within your makefiles.
34 ?S:.
35 ?LINT:change prefixvar
36 ?LINT:set html3direxp
37 ?LINT:set installhtml3dir
38 : determine where html pages for libraries and modules go
39 set html3dir html3dir none
40 eval $prefixit
41 $cat <<EOM
42
43 If you wish to install html files for modules associated with $spackage,
44 indicate the appropriate directory here. To skip installing html files,
45 answer "none".
46 EOM
47 : There is no obvious default. If they have specified html1dir, then
48 : try to key off that, possibly changing .../html1 into .../html3.
49 case "$html3dir" in
50 '') html3dir=`echo "$html1dir" | $sed 's/1$/3$/'` ;;
51 *) dflt=$html3dir ;;
52 esac
53 fn=dn+~
54 rp="Directory for the $spackage module html pages?"
55 . ./getfile
56 prefixvar=html3dir
57 . ./setprefixvar
58 : Use ' ' for none so value is preserved next time through Configure
59 $test X"$html3dir" = "X" && html3dir=' '
60