?RCS: $Id: html3dir.U,v $
?RCS:
?RCS: Copyright (c) 1999 Andy Dougherty
?RCS:
?RCS: You may redistribute only under the terms of the Artistic License,
?RCS: as specified in the README file that comes with the distribution.
?RCS: You may reuse parts of this distribution only within the terms of
?RCS: that same Artistic License; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
?RCS:
?RCS: $Log: html3dir.U,v $
?RCS:
?MAKE:html3dir html3direxp installhtml3dir: cat sed Loc Myread \
	spackage test Getfile Setprefixvar Prefixit Prefixup html1dir
?MAKE:	-pick add $@ %<
?Y:TOP
?D:html3dir=''
?S:html3dir:
?S:	This variable contains the name of the directory in which html
?S:	source pages are to be put.  This directory is for pages
?S:	that describe libraries or modules.  It is intended to
?S:	correspond roughly to section 3 of the Unix manuals.
?S:.
?D:html3direxp=''
?S:html3direxp:
?S:	This variable is the same as the html3dir variable, but is filename
?S:	expanded at configuration time, for convenient use in makefiles.
?S:.
?D:installhtml3dir=''
?S:installhtml3dir:
?S:	This variable is really the same as html3direxp, unless you are
?S:	using a different installprefix.  For extra portability, you
?S:	should only use this variable within your makefiles.
?S:.
?LINT:change prefixvar
?LINT:set html3direxp
?LINT:set installhtml3dir
: determine where html pages for libraries and modules go
set html3dir html3dir none
eval $prefixit
$cat <<EOM

If you wish to install html files for modules associated with $spackage,
indicate the appropriate directory here.  To skip installing html files,
answer "none".
EOM
: There is no obvious default.  If they have specified html1dir, then
: try to key off that, possibly changing .../html1 into .../html3.
case "$html3dir" in
'') html3dir=`echo "$html1dir" | $sed 's/1$/3$/'` ;;
*) dflt=$html3dir ;;
esac
fn=dn+~
rp="Directory for the $spackage module html pages?"
. ./getfile
prefixvar=html3dir
. ./setprefixvar
: Use ' ' for none so value is preserved next time through Configure
$test X"$html3dir" = "X" && html3dir=' '

