| 1 |
?RCS: $Id: html1dir.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: html1dir.U,v $ |
| 12 |
?RCS: |
| 13 |
?MAKE:html1dir html1direxp installhtml1dir: cat Loc Myread \ |
| 14 |
spackage test Getfile Setprefixvar Prefixit Prefixup |
| 15 |
?MAKE: -pick add $@ %< |
| 16 |
?Y:TOP |
| 17 |
?D:html1dir='' |
| 18 |
?S:html1dir: |
| 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 whole programs, not libraries or modules. It |
| 22 |
?S: is intended to correspond roughly to section 1 of the Unix |
| 23 |
?S: manuals. |
| 24 |
?S:. |
| 25 |
?D:html1direxp='' |
| 26 |
?S:html1direxp: |
| 27 |
?S: This variable is the same as the html1dir variable, but is filename |
| 28 |
?S: expanded at configuration time, for convenient use in makefiles. |
| 29 |
?S:. |
| 30 |
?D:installhtml1dir='' |
| 31 |
?S:installhtml1dir: |
| 32 |
?S: This variable is really the same as html1direxp, unless you are |
| 33 |
?S: using a different installprefix. For extra portability, you |
| 34 |
?S: should only use this variable within your makefiles. |
| 35 |
?S:. |
| 36 |
?LINT:change prefixvar |
| 37 |
?LINT:set html1direxp |
| 38 |
?LINT:set installhtml1dir |
| 39 |
: determine where html pages for programs go |
| 40 |
set html1dir html1dir none |
| 41 |
eval $prefixit |
| 42 |
$cat <<EOM |
| 43 |
|
| 44 |
If you wish to install html files for programs in $spackage, indicate |
| 45 |
the appropriate directory here. To skip installing html files, |
| 46 |
answer "none". |
| 47 |
EOM |
| 48 |
case "$html1dir" in |
| 49 |
''|none|$undef|' ') dflt=none ;; |
| 50 |
*) dflt=$html1dir ;; |
| 51 |
esac |
| 52 |
fn=dn+~ |
| 53 |
rp="Directory for the main $spackage html pages?" |
| 54 |
. ./getfile |
| 55 |
prefixvar=html1dir |
| 56 |
. ./setprefixvar |
| 57 |
: Use ' ' for none so value is preserved next time through Configure |
| 58 |
$test X"$html1dir" = "X" && html1dir=' ' |
| 59 |
|