All hand-edits. Hope I got them all right.
p4raw-id: //depot/metaconfig@27670
--- /dev/null
+?RCS: $Id: Setprefixvar.U,v 3.0 2006/04/01 17:25:29 hmbrand $
+?RCS:
+?RCS: Copyright (c) 2006-2006, H.Merijn Brand & Nicholas Clark
+?RCS:
+?RCS: This file is included with or a derivative work of a file included
+?RCS: with the metaconfig program of Raphael Manfredi's "dist" distribution.
+?RCS: In accordance with clause 7 of dist's modified Artistic License:
+?RCS:
+?RCS: You may distribute under the terms of either the GNU General Public
+?RCS: License or the Artistic License, as specified in the README file.
+?RCS:
+?X:
+?X: This unit sets up the scripts installprefix and setprefixvar, so code
+?X: in other parts can be more simple and maintainable
+?X:
+?MAKE:Setprefixvar: Myread Getfile startsh eunicefix test \
+ prefix prefixexp installprefix installprefixexp
+?MAKE: -pick add $@ %<
+?LINT:extern prefixvar
+?F:./setprefixvar
+?F:./installprefix
+: Perform the prefixexp/installprefixexp correction if necessary
+cat <<EOS >installprefix
+$startsh
+EOS
+cat <<'EOSC' >>installprefix
+: Change installation prefix, if necessary.
+if $test X"$prefix" != X"$installprefix"; then
+ eval "install${prefixvar}=\`echo \$${prefixvar}exp | sed \"s#^\$prefixexp#\$installprefixexp#\"\`"
+else
+ eval "install${prefixvar}=\"\$${prefixvar}exp\""
+fi
+EOSC
+chmod +x installprefix
+$eunicefix installprefix
+
+: Set variables such as privlib and privlibexp from the output of ./getfile
+: performing the prefixexp/installprefixexp correction if necessary.
+cat <<EOS >setprefixvar
+$startsh
+EOS
+cat <<'EOSC' >>setprefixvar
+eval "${prefixvar}=\"\$ans\""
+eval "${prefixvar}exp\=\"\$ansexp\""
+. ./installprefix
+EOSC
+chmod +x setprefixvar
+$eunicefix setprefixvar
+
?RCS: This file is included with or a derivative work of a file included
?RCS: with the metaconfig program of Raphael Manfredi's "dist" distribution.
?RCS: In accordance with clause 7 of dist's modified Artistic License:
-?RCS:
+?RCS:
?RCS: You may distribute under the terms of either the GNU General Public
?RCS: License or the Artistic License, as specified in the README file.
?RCS:
?RCS: patch36: created by ADO
?RCS:
?MAKE:d_archlib archlib archlibexp installarchlib: \
- archname spackage prefix prefixexp \
- cat Getfile Loc Oldconfig privlib sed test \
- Prefixit Prefixup installprefix installprefixexp
+ cat Getfile Setprefixvar Loc Oldconfig archname spackage \
+ privlib sed test Prefixit Prefixup
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
?S:d_archlib:
?S: This variable conditionally defines ARCHLIB to hold the pathname
?S: of architecture-dependent library files for $package. If
?S: $archlib is the same as $privlib, then this is set to undef.
?S:.
+?D:archlib=''
?S:archlib:
?S: This variable holds the name of the directory in which the user wants
?S: to put architecture-dependent public library files for $package.
?S: Programs using this variable must be prepared to deal
?S: with filename expansion.
?S:.
+?D:archlibexp=''
?S:archlibexp:
?S: This variable is the same as the archlib variable, but is
?S: filename expanded at configuration time, for convenient use.
?S:.
+?D:installarchlib=''
?S:installarchlib:
?S: This variable is really the same as archlibexp but may differ on
?S: those systems using AFS. For extra portability, only this variable
fn=d+~
rp='Where do you want to put the public architecture-dependent libraries?'
. ./getfile
-archlib="$ans"
-archlibexp="$ansexp"
+prefixvar=archlib
+. ./setprefixvar
if $test X"$archlib" = X"$privlib"; then
d_archlib="$undef"
else
d_archlib="$define"
fi
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installarchlib=`echo $archlibexp | sed "s#^$prefixexp#$installprefixexp#"`
-else
- installarchlib="$archlibexp"
-fi
?RCS: $Id: bin.U,v 3.1 1999/07/09 18:20:13 doughera Exp doughera $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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: Revision 3.0 1993/08/18 12:05:26 ram
?RCS: Baseline for dist 3.0 netwide release.
?RCS:
-?MAKE:bin binexp installbin: Prefixit prefix prefixexp \
- installprefix installprefixexp \
- Getfile Oldconfig test
+?MAKE:bin binexp installbin: Prefixit Getfile Setprefixvar Oldconfig test
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
+?D:bin=''
?S:bin:
?S: This variable holds the name of the directory in which the user wants
?S: to put publicly executable images for the package in question. It
?S: is most often a local directory such as /usr/local/bin. Programs using
?S: this variable must be prepared to deal with ~name substitution.
?S:.
+?D:binexp=''
?S:binexp:
?S: This is the same as the bin variable, but is filename expanded at
?S: configuration time, for use in your makefiles.
?S:.
+?D:installbin=''
?S:installbin:
?S: This variable is the same as binexp unless AFS is running in which case
?S: the user is explicitely prompted for it. This variable should always
if $test "X$ansexp" != "X$binexp"; then
installbin=''
fi
-bin="$ans"
-binexp="$ansexp"
-: Change installation prefix, if necessary.
: XXX Bug? -- ignores Configure -Dinstallprefix setting.
-if $test X"$prefix" != X"$installprefix"; then
- installbin=`echo $binexp | sed "s#^$prefixexp#$installprefixexp#"`
-else
- installbin="$binexp"
-fi
+prefixvar=bin
+. ./setprefixvar
?RCS: $Id: html1dir.U,v $
?RCS:
?RCS: Copyright (c) 1999 Andy Dougherty
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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:
?RCS: $Log: html1dir.U,v $
?RCS:
-?MAKE:html1dir html1direxp installhtml1dir: cat Loc \
- spackage test Getfile Prefixit Prefixup Myread \
- prefix prefixexp installprefix installprefixexp
+?MAKE:html1dir html1direxp installhtml1dir: cat Loc Myread \
+ spackage test Getfile Setprefixvar Prefixit Prefixup
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
+?D:html1dir=''
?S:html1dir:
?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: is intended to correspond roughly to section 1 of the Unix
?S: manuals.
?S:.
+?D:html1direxp=''
?S:html1direxp:
?S: This variable is the same as the html1dir variable, but is filename
?S: expanded at configuration time, for convenient use in makefiles.
?S:.
+?D:installhtml1dir=''
?S:installhtml1dir:
-?S: This variable is really the same as html1direxp, unless you are
-?S: using a different installprefix. For extra portability, you
+?S: This variable is really the same as html1direxp, unless you are
+?S: using a different installprefix. For extra portability, you
?S: should only use this variable within your makefiles.
?S:.
: determine where html pages for programs go
eval $prefixit
$cat <<EOM
-If you wish to install html files for programs in $spackage, indicate
+If you wish to install html files for programs in $spackage, indicate
the appropriate directory here. To skip installing html files,
answer "none".
EOM
fn=dn+~
rp="Directory for the main $spackage html pages?"
. ./getfile
-html1dir="$ans"
-html1direxp="$ansexp"
+prefixvar=html1dir
++. ./setprefixvar
: Use ' ' for none so value is preserved next time through Configure
$test X"$html1dir" = "X" && html1dir=' '
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installhtml1dir=`echo $html1direxp | sed "s#^$prefixexp#$installprefixexp#"`
-else
- installhtml1dir="$html1direxp"
-fi
?RCS: $Id: html3dir.U,v $
?RCS:
?RCS: Copyright (c) 1999 Andy Dougherty
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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:
?RCS: $Log: html3dir.U,v $
?RCS:
-?MAKE:html3dir html3direxp installhtml3dir: cat sed Loc \
- spackage test Getfile Prefixit Prefixup Myread \
- prefix prefixexp installprefix installprefixexp html1dir
+?MAKE:html3dir html3direxp installhtml3dir: cat sed Loc Myread \
+ spackage test Getfile Setprefixvar Prefixit Prefixup html1dir
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?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: 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:.
: determine where html pages for libraries and modules go
fn=dn+~
rp="Directory for the $spackage module html pages?"
. ./getfile
-html3dir="$ans"
-html3direxp="$ansexp"
+prefixvar=html3dir
+. ./setprefixvar
: Use ' ' for none so value is preserved next time through Configure
$test X"$html3dir" = "X" && html3dir=' '
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installhtml3dir=`echo $html3direxp | sed "s#^$prefixexp#$installprefixexp#"`
-else
- installhtml3dir="$html3direxp"
-fi
?RCS:
?RCS: Copyright (c) 1996, 1999 Andy Dougherty
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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
?X:
?X: This was originally specific to perl5. Since perl5 has man pages that
?X: go in both man1/ and man3/ directories, we need both man1dir
-?X: and man3dir. This unit is basically dist's mansrc.U with
+?X: and man3dir. This unit is basically dist's mansrc.U with
?X: man1 used instead of man everywhere.
?X:
?MAKE:man1dir man1direxp man1ext installman1dir: cat nroff Loc Oldconfig \
- spackage test Getfile Prefixit Prefixup sysman Myread \
- prefix prefixexp installprefix installprefixexp sed
+ spackage test Getfile Setprefixvar Prefixit Prefixup sysman Myread \
+ sed prefixexp
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
+?D:man1dir=''
?S:man1dir:
?S: This variable contains the name of the directory in which manual
?S: source pages are to be put. It is the responsibility of the
?S: Makefile.SH to get the value of this into the proper command.
?S: You must be prepared to do the ~name expansion yourself.
?S:.
+?D:man1direxp=''
?S:man1direxp:
?S: This variable is the same as the man1dir variable, but is filename
?S: expanded at configuration time, for convenient use in makefiles.
?S:.
+?D:installman1dir=''
?S:installman1dir:
?S: This variable is really the same as man1direxp, unless you are using
?S: AFS in which case it points to the read/write location whereas
if $test "X$man1direxp" != "X$ansexp"; then
installman1dir=''
fi
-man1dir="$ans"
-man1direxp="$ansexp"
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installman1dir=`echo $man1direxp | $sed "s#^$prefixexp#$installprefixexp#"`
-else
- installman1dir="$man1direxp"
-fi
+prefixvar=man1dir
+. ./setprefixvar
+
case "$man1dir" in
'') man1dir=' '
installman1dir='';;
?RCS:
?RCS: Copyright (c) 1996-1999, Andy Dougherty
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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
?X:
?X: This was originally specific to perl5. Since perl5 has man pages that
?X: go in both man1/ and man3/ directories, we need both man1dir
-?X: and man3dir. This unit is basically dist's mansrc.U with
+?X: and man3dir. This unit is basically dist's mansrc.U with
?X: man3 used instead of man everywhere.
-?X: I then added various tests because perl5 has *lots* of man3
+?X: I then added various tests because perl5 has *lots* of man3
?X: pages with long file names. -- ADO
?X:
?MAKE:man3dir man3direxp man3ext installman3dir: cat nroff Loc Oldconfig \
- sed man1dir spackage package Getfile prefix prefixexp Prefixit Prefixup \
- installprefix installprefixexp d_flexfnam privlib Myread test
+ sed man1dir spackage package Getfile Setprefixvar Prefixit Prefixup \
+ d_flexfnam privlib Myread test
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
+?D:man3dir=''
?S:man3dir:
?S: This variable contains the name of the directory in which manual
?S: source pages are to be put. It is the responsibility of the
?S: Makefile.SH to get the value of this into the proper command.
?S: You must be prepared to do the ~name expansion yourself.
?S:.
+?D:man3direxp=''
?S:man3direxp:
?S: This variable is the same as the man3dir variable, but is filename
?S: expanded at configuration time, for convenient use in makefiles.
?S:.
+?D:installman3dir=''
?S:installman3dir:
?S: This variable is really the same as man3direxp, unless you are using
?S: AFS in which case it points to the read/write location whereas
case "$d_flexfnam" in
undef)
$cat <<'EOM'
-However, your system can't handle the long file names like File::Basename.3.
+However, your system can't handle the long file names like File::Basename.3.
EOM
case "$man3dir" in
'') man3dir="none";;
cat <<EOM >&4
WARNING: Previous versions of perl installed man3 pages into
-$privlib/man/man3. This version will suggest a
-new default of $dflt.
+$privlib/man/man3. This version will suggest a
+new default of $dflt.
EOM
tdflt=$dflt
dflt='n'
fn=dn+~
rp="Where do the $package library man pages (source) go?"
. ./getfile
-man3dir="$ans"
-man3direxp="$ansexp"
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installman3dir=`echo $man3direxp | $sed "s#^$prefixexp#$installprefixexp#"`
-else
- installman3dir="$man3direxp"
-fi
+prefixvar=man3dir
+. ./setprefixvar
+
case "$man3dir" in
'') man3dir=' '
installman3dir='';;
?RCS: $Id: privlib.U,v 3.1 1999/07/08 18:32:29 doughera Exp doughera $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS:
+?RCS:
?RCS: This file is included with or a derivative work of a file included
?RCS: with the metaconfig program of Raphael Manfredi's "dist" distribution.
?RCS: In accordance with clause 7 of dist's modified Artistic License:
-?RCS:
+?RCS:
?RCS: You may distribute under the terms of either the GNU General Public
?RCS: License or the Artistic License, as specified in the README file.
?RCS:
?RCS: Revision 3.0 1993/08/18 12:09:35 ram
?RCS: Baseline for dist 3.0 netwide release.
?RCS:
-?MAKE:privlib privlibexp installprivlib: package cat Getfile \
- Oldconfig prefix prefixexp installprefix installprefixexp \
- Prefixit test version installstyle
+?MAKE:privlib privlibexp installprivlib: package cat Getfile Oldconfig \
+ Setprefixvar Prefixit version installstyle
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
+?D:privlib=''
?S:privlib:
?S: This variable contains the eventual value of the PRIVLIB symbol,
?S: which is the name of the private library for this package. It may
?S: have a ~ on the front. It is up to the makefile to eventually create
?S: this directory while performing installation (with ~ substitution).
?S:.
+?D:privlibexp=''
?S:privlibexp:
?S: This variable is the ~name expanded version of privlib, so that you
?S: may use it directly in Makefiles or shell scripts.
?S:.
+?D:installprivlib=''
?S:installprivlib:
?S: This variable is really the same as privlibexp but may differ on
?S: those systems using AFS. For extra portability, only this variable
?H:.
: determine where private library files go
: Usual default is /usr/local/lib/perl5/$version.
-: Also allow things like /opt/perl/lib/$version, since
+: Also allow things like /opt/perl/lib/$version, since
: /opt/perl/lib/perl5... would be redundant.
: The default "style" setting is made in installstyle.U
case "$installstyle" in
fn=d~+
rp='Pathname where the private library files will reside?'
. ./getfile
-privlib="$ans"
-privlibexp="$ansexp"
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installprivlib=`echo $privlibexp | sed "s#^$prefixexp#$installprefixexp#"`
-else
- installprivlib="$privlibexp"
-fi
+prefixvar=privlib
+. ./setprefixvar
?RCS: $Id: scriptdir.U,v 3.1 1999/07/09 18:20:13 doughera Exp doughera $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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: Baseline for dist 3.0 netwide release.
?RCS:
?MAKE:scriptdir scriptdirexp installscript: cat test Getfile Loc \
- Oldconfig +bin sed Prefixit prefix prefixexp \
- installprefix installprefixexp Prefixup
+ Oldconfig +bin sed Prefixit Setprefixvar prefixexp Prefixup
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
+?D:scriptdir=''
?S:scriptdir:
?S: This variable holds the name of the directory in which the user wants
?S: to put publicly scripts for the package in question. It is either
?S: mounted across different architectures, like /usr/share. Programs
?S: must be prepared to deal with ~name expansion.
?S:.
+?D:scriptdirexp=''
?S:scriptdirexp:
?S: This variable is the same as scriptdir, but is filename expanded
?S: at configuration time, for programs not wanting to bother with it.
?S:.
+?D:installscript=''
?S:installscript:
?S: This variable is usually the same as scriptdirexp, unless you are on
?S: a system running AFS, in which case they may differ slightly. You
;;
esac
$cat <<EOM
-
+
Some installations have a separate directory just for executable scripts so
that they can mount it across multiple architectures but keep the scripts in
one spot. You might, for example, have a subdirectory of /usr/share for this.
Or you might just lump your scripts in with all your other executables.
-
+
EOM
fn=d~
rp='Where do you keep publicly executable scripts?'
if $test "X$ansexp" != "X$scriptdirexp"; then
installscript=''
fi
-scriptdir="$ans"
-scriptdirexp="$ansexp"
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installscript=`echo $scriptdirexp | sed "s#^$prefixexp#$installprefixexp#"`
-else
- installscript="$scriptdirexp"
-fi
+prefixvar=scriptdir
+. ./setprefixvar
?RCS:
?RCS: Copyright (c) 1996-1998, Andy Dougherty
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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: Revision 3.0.1.1 1997/02/28 16:21:30 ram
?RCS: patch61: created
?RCS:
-?MAKE:sitearch sitearchexp installsitearch: cat sed Getfile \
- Oldconfig Prefixit archname installprefix installprefixexp \
- prefix prefixexp sitelib test
+?MAKE:sitearch sitearchexp installsitearch: cat sed Getfile Oldconfig \
+ Setprefixvar Prefixit archname sitelib
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
+?D:sitearch=''
?S:sitearch:
?S: This variable contains the eventual value of the SITEARCH symbol,
?S: which is the name of the private library for this package. It may
?S: MakeMaker Makefile.PL
?S: or equivalent. See INSTALL for details.
?S:.
+?D:sitearchexp=''
?S:sitearchexp:
?S: This variable is the ~name expanded version of sitearch, so that you
?S: may use it directly in Makefiles or shell scripts.
?S:.
+?D:installsitearch=''
?S:installsitearch:
?S: This variable is really the same as sitearchexp but may differ on
?S: those systems using AFS. For extra portability, only this variable
fn=d~+
rp='Pathname for the site-specific architecture-dependent library files?'
. ./getfile
-sitearch="$ans"
-sitearchexp="$ansexp"
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installsitearch=`echo $sitearchexp | sed "s#^$prefixexp#$installprefixexp#"`
-else
- installsitearch="$sitearchexp"
-fi
+prefixvar=sitearch
+. ./setprefixvar
?RCS: $Id: sitebin.U,v $
?RCS:
?RCS: Copyright (c) 1999 Andy Dougherty
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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:
?RCS: $Log: sitebin.U,v $
?RCS:
-?MAKE:sitebin sitebinexp installsitebin : Getfile Oldconfig siteprefix test \
- installprefix installprefixexp prefix prefixexp
+?MAKE:sitebin sitebinexp installsitebin : Getfile Oldconfig \
+ Setprefixvar siteprefix
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
+?D:sitebin=''
?S:sitebin:
?S: This variable holds the name of the directory in which the user wants
?S: to put add-on publicly executable files for the package in question. It
?S: MakeMaker Makefile.PL
?S: or equivalent. See INSTALL for details.
?S:.
+?D:sitebinexp=''
?S:sitebinexp:
?S: This is the same as the sitebin variable, but is filename expanded at
?S: configuration time, for use in your makefiles.
?S:.
+?D:installsitebin=''
?S:installsitebin:
?S: This variable is usually the same as sitebinexp, unless you are on
?S: a system running AFS, in which case they may differ slightly. You
fn=d~
rp='Pathname where the add-on public executables should be installed?'
. ./getfile
-sitebin="$ans"
-sitebinexp="$ansexp"
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installsitebin=`echo $sitebinexp | sed "s#^$prefixexp#$installprefixexp#"`
-else
- installsitebin="$sitebinexp"
-fi
+prefixvar=sitebin
+. ./setprefixvar
?RCS: $Id$
?RCS:
?RCS: Copyright (c) 1999 Jarkko Hietaniemi
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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 Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
?RCS:
-?MAKE:sitehtml1dir sitehtml1direxp installsitehtml1dir: test Getfile \
- prefix prefixexp installprefix installprefixexp siteprefix html1dir sed
+?MAKE:sitehtml1dir sitehtml1direxp installsitehtml1dir: Getfile \
+ Setprefixvar prefix siteprefix html1dir sed
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
+?D:sitehtml1dir=''
?S:sitehtml1dir:
?S: This variable contains the name of the directory in which site-specific
?S: html source pages are to be put. It is the responsibility of the
?S: MakeMaker Makefile.PL
?S: or equivalent. See INSTALL for details.
?S:.
+?D:sitehtml1direxp=''
?S:sitehtml1direxp:
?S: This variable is the same as the sitehtml1dir variable, but is filename
?S: expanded at configuration time, for convenient use in makefiles.
?S:.
+?D:installsitehtml1dir=''
?S:installsitehtml1dir:
?S: This variable is really the same as sitehtml1direxp, unless you are using
?S: AFS in which case it points to the read/write location whereas
fn=dn+~
rp='Pathname where the site-specific html pages should be installed?'
. ./getfile
-sitehtml1dir="$ans"
-sitehtml1direxp="$ansexp"
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installsitehtml1dir=`echo $sitehtml1direxp | $sed "s#^$prefixexp#$installprefixexp#"`
-else
- installsitehtml1dir="$sitehtml1direxp"
-fi
+prefixvar=sitehtml1dir
+. ./setprefixvar
?RCS: $Id$
?RCS:
?RCS: Copyright (c) 1999 Jarkko Hietaniemi
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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 Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
?RCS:
-?MAKE:sitehtml3dir sitehtml3direxp installsitehtml3dir: test Getfile \
- prefix prefixexp installprefix installprefixexp siteprefix html3dir sed
+?MAKE:sitehtml3dir sitehtml3direxp installsitehtml3dir: Getfile \
+ Setprefixvar prefix siteprefix html3dir sed
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
+?D:sitehtml3dir=''
?S:sitehtml3dir:
?S: This variable contains the name of the directory in which site-specific
?S: library html source pages are to be put. It is the responsibility of the
?S: MakeMaker Makefile.PL
?S: or equivalent. See INSTALL for details.
?S:.
+?D:sitehtml3direxp=''
?S:sitehtml3direxp:
?S: This variable is the same as the sitehtml3dir variable, but is filename
?S: expanded at configuration time, for convenient use in makefiles.
?S:.
+?D:installsitehtml3dir=''
?S:installsitehtml3dir:
?S: This variable is really the same as sitehtml3direxp, unless you are using
?S: AFS in which case it points to the read/write location whereas
fn=dn+~
rp='Pathname where the site-specific library html pages should be installed?'
. ./getfile
-sitehtml3dir="$ans"
-sitehtml3direxp="$ansexp"
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installsitehtml3dir=`echo $sitehtml3direxp | $sed "s#^$prefixexp#$installprefixexp#"`
-else
- installsitehtml3dir="$sitehtml3direxp"
-fi
+prefixvar=sitehtml3dir
+. ./setprefixvar
?RCS: Revision 3.0.1.1 1997/02/28 16:21:35 ram
?RCS: patch61: created
?RCS:
-?MAKE:sitelib sitelibexp installsitelib sitelib_stem: cat Getfile \
- Oldconfig Prefixit package installprefix installprefixexp \
- prefix prefixexp version test sed installstyle siteprefix
+?MAKE:sitelib sitelibexp installsitelib sitelib_stem: cat Getfile Oldconfig \
+ Setprefixvar Prefixit package version sed installstyle siteprefix
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
+?D:sitelib=''
?S:sitelib:
?S: This variable contains the eventual value of the SITELIB symbol,
?S: which is the name of the private library for this package. It may
?S: MakeMaker Makefile.PL
?S: or equivalent. See INSTALL for details.
?S:.
+?D:sitelibexp=''
?S:sitelibexp:
?S: This variable is the ~name expanded version of sitelib, so that you
?S: may use it directly in Makefiles or shell scripts.
?S:.
+?D:installsitelib=''
?S:installsitelib:
?S: This variable is really the same as sitelibexp but may differ on
?S: those systems using AFS. For extra portability, only this variable
fn=d~+
rp='Pathname for the site-specific library files?'
. ./getfile
-sitelib="$ans"
-sitelibexp="$ansexp"
+prefixvar=sitelib
+. ./setprefixvar
sitelib_stem=`echo "$sitelibexp" | sed "s,/$version$,,"`
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installsitelib=`echo $sitelibexp | $sed "s#^$prefixexp#$installprefixexp#"`
-else
- installsitelib="$sitelibexp"
-fi
?RCS: $Id$
?RCS:
?RCS: Copyright (c) 1999 Jarkko Hietaniemi
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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 Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
?RCS:
-?MAKE:siteman1dir siteman1direxp installsiteman1dir: test Getfile \
- prefix prefixexp installprefix installprefixexp siteprefix man1dir sed
+?MAKE:siteman1dir siteman1direxp installsiteman1dir: Getfile \
+ Setprefixvar prefix siteprefix man1dir sed
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
+?D:siteman1dir=''
?S:siteman1dir:
?S: This variable contains the name of the directory in which site-specific
?S: manual source pages are to be put. It is the responsibility of the
?S: MakeMaker Makefile.PL
?S: or equivalent. See INSTALL for details.
?S:.
+?D:siteman1direxp=''
?S:siteman1direxp:
?S: This variable is the same as the siteman1dir variable, but is filename
?S: expanded at configuration time, for convenient use in makefiles.
?S:.
+?D:installsiteman1dir=''
?S:installsiteman1dir:
?S: This variable is really the same as siteman1direxp, unless you are using
?S: AFS in which case it points to the read/write location whereas
: determine where add-on manual pages go
case "$siteman1dir" in
'') dflt=`echo $man1dir | $sed "s#^$prefix#$siteprefix#"` ;;
-*) dflt=$siteman1dir ;;
+*) dflt=$siteman1dir ;;
esac
case "$dflt" in
''|' ') dflt=none ;;
fn=dn+~
rp='Pathname where the site-specific manual pages should be installed?'
. ./getfile
-siteman1dir="$ans"
-siteman1direxp="$ansexp"
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installsiteman1dir=`echo $siteman1direxp | $sed "s#^$prefixexp#$installprefixexp#"`
-else
- installsiteman1dir="$siteman1direxp"
-fi
+prefixvar=siteman1dir
+. ./setprefixvar
?RCS: $Id$
?RCS:
?RCS: Copyright (c) 1999 Jarkko Hietaniemi
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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 Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
?RCS:
-?MAKE:siteman3dir siteman3direxp installsiteman3dir: test Getfile \
- prefix prefixexp installprefix installprefixexp siteprefix man3dir sed
+?MAKE:siteman3dir siteman3direxp installsiteman3dir: Getfile \
+ Setprefixvar prefix siteprefix man3dir sed
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
+?D:siteman3dir=''
?S:siteman3dir:
?S: This variable contains the name of the directory in which site-specific
?S: library man source pages are to be put. It is the responsibility of the
?S: MakeMaker Makefile.PL
?S: or equivalent. See INSTALL for details.
?S:.
+?D:siteman3direxp=''
?S:siteman3direxp:
?S: This variable is the same as the siteman3dir variable, but is filename
?S: expanded at configuration time, for convenient use in makefiles.
?S:.
+?D:installsiteman3dir=''
?S:installsiteman3dir:
?S: This variable is really the same as siteman3direxp, unless you are using
?S: AFS in which case it points to the read/write location whereas
: determine where add-on library man pages go
case "$siteman3dir" in
'') dflt=`echo $man3dir | $sed "s#^$prefix#$siteprefix#"` ;;
-*) dflt=$siteman3dir ;;
+*) dflt=$siteman3dir ;;
esac
case "$dflt" in
''|' ') dflt=none ;;
fn=dn+~
rp='Pathname where the site-specific library manual pages should be installed?'
. ./getfile
-siteman3dir="$ans"
-siteman3direxp="$ansexp"
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installsiteman3dir=`echo $siteman3direxp | $sed "s#^$prefixexp#$installprefixexp#"`
-else
- installsiteman3dir="$siteman3direxp"
-fi
+prefixvar=siteman3dir
+. ./setprefixvar
?RCS: $Id: sitescriptdir.U,v $
?RCS:
?RCS: Copyright (c) 1999 Andy Dougherty
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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: $Log: sitescriptdir.U,v $
?RCS:
?MAKE:sitescriptdir sitescriptdirexp installsitescriptdir : Getfile \
- Oldconfig test scriptdir prefix prefixexp siteprefix sed \
- installprefix installprefixexp
+ Setprefixvar Oldconfig scriptdir prefix siteprefix sed
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
+?D:sitescriptdir=''
?S:sitescriptdir:
?S: This variable holds the name of the directory in which the user wants
?S: to put add-on publicly executable files for the package in question. It
?S: MakeMaker Makefile.PL
?S: or equivalent. See INSTALL for details.
?S:.
+?D:sitescriptdirexp=''
?S:sitescriptdirexp:
?S: This is the same as the sitescriptdir variable, but is filename expanded at
?S: configuration time, for use in your makefiles.
?S:.
?S:installsitescriptdir:
+?D:installsitescriptdir=''
?S: This variable is usually the same as sitescriptdirexp, unless you are on
?S: a system running AFS, in which case they may differ slightly. You
?S: should always use this variable within your makefiles for portability.
fn=d~
rp='Pathname where add-on public executable scripts should be installed?'
. ./getfile
-sitescriptdir="$ans"
-sitescriptdirexp="$ansexp"
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installsitescriptdir=`echo $sitescriptdirexp | sed "s#^$prefixexp#$installprefixexp#"`
-else
- installsitescriptdir="$sitescriptdirexp"
-fi
+prefixvar=sitescriptdir
+. ./setprefixvar
?RCS: $Id: vendorarch.U,v 1.1 1999/07/08 18:32:57 doughera Exp doughera $
?RCS:
?RCS: Copyright (c) 1999, Andy Dougherty
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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:
?RCS:
?MAKE:d_vendorarch vendorarch vendorarchexp installvendorarch: sed Getfile \
- Oldconfig Prefixit test archname vendorlib \
- vendorprefix prefix prefixexp installprefix installprefixexp
+ Setprefixvar Oldconfig Prefixit archname vendorlib vendorprefix
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
?S:vendorarch:
?S: This variable contains the value of the PERL_VENDORARCH symbol.
-?S: It may have a ~ on the front.
+?S: It may have a ~ on the front.
?S: The standard distribution will put nothing in this directory.
?S: Vendors who distribute perl may wish to place their own
?S: architecture-dependent modules and extensions in this directory with
-?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
+?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
?S: or equivalent. See INSTALL for details.
?S:.
?S:vendorarchexp:
?S: This variable is the ~name expanded version of vendorarch, so that you
?S: may use it directly in Makefiles or shell scripts.
?S:.
+?D:installvendorarch=''
?S:installvendorarch:
?S: This variable is really the same as vendorarchexp but may differ on
?S: those systems using AFS. For extra portability, only this variable
?C: If defined, this symbol contains the name of a private library.
?C: The library is private in the sense that it needn't be in anyone's
?C: execution path, but it should be accessible by the world.
-?C: It may have a ~ on the front.
+?C: It may have a ~ on the front.
?C: The standard distribution will put nothing in this directory.
?C: Vendors who distribute perl may wish to place their own
?C: architecture-dependent modules and extensions in this directory with
-?C: MakeMaker Makefile.PL INSTALLDIRS=vendor
+?C: MakeMaker Makefile.PL INSTALLDIRS=vendor
?C: or equivalent. See INSTALL for details.
?C:.
?C:PERL_VENDORARCH_EXP:
vendorarchexp="$ansexp"
;;
esac
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installvendorarch=`echo $vendorarchexp | sed "s#^$prefixexp#$installprefixexp#"`
-else
- installvendorarch="$vendorarchexp"
-fi
+prefixvar=vendorarch
++. ./installprefix
?RCS: $Id: vendorbin.U,v 1.1 1999/07/08 18:32:57 doughera Exp doughera $
?RCS:
?RCS: Copyright (c) 1999, Andy Dougherty
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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 Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
-?RCS:
+?RCS:
?RCS: $Log: vendorbin.U,v $
?RCS: Revision 1.1 1999/07/08 18:32:57 doughera
?RCS: Initial revision
?RCS:
?RCS:
?MAKE:d_vendorbin vendorbin vendorbinexp installvendorbin: Getfile \
- Oldconfig Prefixit test vendorprefix prefix prefixexp sed \
- installprefix installprefixexp
+ Setprefixvar Oldconfig Prefixit vendorprefix sed
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
?S:vendorbin:
?S: This variable contains the eventual value of the VENDORBIN symbol.
?S: The standard distribution will put nothing in this directory.
?S: Vendors who distribute perl may wish to place additional
?S: binaries in this directory with
-?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
+?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
?S: or equivalent. See INSTALL for details.
?S:.
?S:vendorbinexp:
?S: This variable is the ~name expanded version of vendorbin, so that you
?S: may use it directly in Makefiles or shell scripts.
?S:.
+?D:installvendorbin=''
?S:installvendorbin:
?S: This variable is really the same as vendorbinexp but may differ on
?S: those systems using AFS. For extra portability, only this variable
?C: The standard distribution will put nothing in this directory.
?C: Vendors who distribute perl may wish to place additional
?C: binaries in this directory with
-?C: MakeMaker Makefile.PL INSTALLDIRS=vendor
+?C: MakeMaker Makefile.PL INSTALLDIRS=vendor
?C: or equivalent. See INSTALL for details.
?C:.
?C:PERL_VENDORBIN_EXP:
vendorbinexp="$ansexp"
;;
esac
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installvendorbin=`echo $vendorbinexp | $sed "s#^$prefixexp#$installprefixexp#"`
-else
- installvendorbin="$vendorbinexp"
-fi
+prefixvar=vendorbin
+. ./installprefix
?RCS: $Id: vendorhtml1dir.U,v 1.1 1999/07/08 18:32:57 doughera Exp doughera $
?RCS:
?RCS: Copyright (c) 1999, Andy Dougherty
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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 Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
-?RCS:
+?RCS:
?RCS: $Log: vendorhtml1dir.U,v $
?RCS: Revision 1.1 1999/07/08 18:32:57 doughera
?RCS: Initial revision
?RCS:
?RCS:
?MAKE:vendorhtml1dir vendorhtml1direxp installvendorhtml1dir: html1dir Getfile \
- Oldconfig Prefixit test vendorprefix prefix prefixexp sed \
- installprefix installprefixexp
+ Setprefixvar Oldconfig Prefixit test vendorprefix prefix sed
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
?S:vendorhtml1dir:
-?S: This variable contains the name of the directory for html
+?S: This variable contains the name of the directory for html
?S: pages. It may have a ~ on the front.
?S: The standard distribution will put nothing in this directory.
?S: Vendors who distribute perl may wish to place their own
?S: html pages in this directory with
-?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
+?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
?S: or equivalent. See INSTALL for details.
?S:.
?S:vendorhtml1direxp:
?S: This variable is the ~name expanded version of vendorhtml1dir, so that you
?S: may use it directly in Makefiles or shell scripts.
?S:.
+?D:installvendorhtml1dir=''
?S:installvendorhtml1dir:
?S: This variable is really the same as vendorhtml1direxp but may differ on
?S: those systems using AFS. For extra portability, only this variable
esac
: Use ' ' for none so value is preserved next time through Configure
$test X"$vendorhtml1dir" = "X" && vendorhtml1dir=' '
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installvendorhtml1dir=`echo $vendorhtml1direxp | $sed "s#^$prefixexp#$installprefixexp#"`
-else
- installvendorhtml1dir="$vendorhtml1direxp"
-fi
+prefixvar=vendorhtml1dir
+. ./installprefix
?RCS: $Id: vendorhtml3dir.U,v 1.1 1999/07/08 18:32:57 doughera Exp doughera $
?RCS:
?RCS: Copyright (c) 1999, Andy Dougherty
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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 Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
-?RCS:
+?RCS:
?RCS: $Log: vendorhtml3dir.U,v $
?RCS: Revision 1.1 1999/07/08 18:32:57 doughera
?RCS: Initial revision
?RCS:
?RCS:
?MAKE:vendorhtml3dir vendorhtml3direxp installvendorhtml3dir: html3dir Getfile \
- Oldconfig Prefixit test vendorprefix prefix prefixexp sed \
- installprefix installprefixexp
+ Oldconfig Setprefixvar Prefixit test vendorprefix prefix sed
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
?S:vendorhtml3dir:
-?S: This variable contains the name of the directory for html
+?S: This variable contains the name of the directory for html
?S: library pages. It may have a ~ on the front.
?S: The standard distribution will put nothing in this directory.
?S: Vendors who distribute perl may wish to place their own
?S: html pages for modules and extensions in this directory with
-?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
+?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
?S: or equivalent. See INSTALL for details.
?S:.
?S:vendorhtml3direxp:
?S: This variable is the ~name expanded version of vendorhtml3dir, so that you
?S: may use it directly in Makefiles or shell scripts.
?S:.
+?D:installvendorhtml3dir=''
?S:installvendorhtml3dir:
?S: This variable is really the same as vendorhtml3direxp but may differ on
?S: those systems using AFS. For extra portability, only this variable
esac
: Use ' ' for none so value is preserved next time through Configure
$test X"$vendorhtml3dir" = "X" && vendorhtml3dir=' '
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installvendorhtml3dir=`echo $vendorhtml3direxp | $sed "s#^$prefixexp#$installprefixexp#"`
-else
- installvendorhtml3dir="$vendorhtml3direxp"
-fi
+prefixvar=vendorhtml3dir
+. ./installprefix
?RCS: $Id: vendorlib.U,v 1.1 1999/07/08 18:32:57 doughera Exp doughera $
?RCS:
?RCS: Copyright (c) 1999, Andy Dougherty
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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 Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
-?RCS:
+?RCS:
?RCS: $Log: vendorlib.U,v $
?RCS: Revision 1.1 1999/07/08 18:32:57 doughera
?RCS: Initial revision
?RCS:
?RCS:
-?MAKE:d_vendorlib vendorlib vendorlibexp installvendorlib \
- vendorlib_stem: Getfile \
- Oldconfig Prefixit test package vendorprefix prefix prefixexp sed \
- installstyle installprefix installprefixexp version
+?MAKE:d_vendorlib vendorlib vendorlibexp installvendorlib vendorlib_stem: \
+ Getfile Setprefixvar Oldconfig Prefixit package vendorprefix sed \
+ installstyle version
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
?S:vendorlib:
?S: This variable contains the eventual value of the VENDORLIB symbol,
?S: The standard distribution will put nothing in this directory.
?S: Vendors who distribute perl may wish to place their own
?S: modules in this directory with
-?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
+?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
?S: or equivalent. See INSTALL for details.
?S:.
?S:vendorlibexp:
?S: This variable is the ~name expanded version of vendorlib, so that you
?S: may use it directly in Makefiles or shell scripts.
?S:.
+?D:installvendorlib=''
?S:installvendorlib:
?S: This variable is really the same as vendorlibexp but may differ on
?S: those systems using AFS. For extra portability, only this variable
?C: The standard distribution will put nothing in this directory.
?C: Vendors who distribute perl may wish to place their own
?C: modules in this directory with
-?C: MakeMaker Makefile.PL INSTALLDIRS=vendor
+?C: MakeMaker Makefile.PL INSTALLDIRS=vendor
?C: or equivalent. See INSTALL for details.
?C:.
?C:PERL_VENDORLIB_EXP:
;;
esac
vendorlib_stem=`echo "$vendorlibexp" | sed "s,/$version$,,"`
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installvendorlib=`echo $vendorlibexp | $sed "s#^$prefixexp#$installprefixexp#"`
-else
- installvendorlib="$vendorlibexp"
-fi
+prefixvar=vendorlib
+. ./installprefix
?RCS: $Id: vendorman1dir.U,v 1.1 1999/07/08 18:32:57 doughera Exp doughera $
?RCS:
?RCS: Copyright (c) 1999, Andy Dougherty
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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 Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
-?RCS:
+?RCS:
?RCS: $Log: vendorman1dir.U,v $
?RCS: Revision 1.1 1999/07/08 18:32:57 doughera
?RCS: Initial revision
?RCS:
?RCS:
?MAKE:vendorman1dir vendorman1direxp installvendorman1dir: man1dir Getfile \
- Oldconfig Prefixit test vendorprefix prefix prefixexp sed \
- installprefix installprefixexp
+ Oldconfig Setprefixvar Prefixit test vendorprefix prefix sed
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
?S:vendorman1dir:
-?S: This variable contains the name of the directory for man1
+?S: This variable contains the name of the directory for man1
?S: pages. It may have a ~ on the front.
?S: The standard distribution will put nothing in this directory.
?S: Vendors who distribute perl may wish to place their own
?S: man1 pages in this directory with
-?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
+?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
?S: or equivalent. See INSTALL for details.
?S:.
?S:vendorman1direxp:
?S: This variable is the ~name expanded version of vendorman1dir, so that you
?S: may use it directly in Makefiles or shell scripts.
?S:.
+?D:installvendorman1dir=''
?S:installvendorman1dir:
?S: This variable is really the same as vendorman1direxp but may differ on
?S: those systems using AFS. For extra portability, only this variable
esac
: Use ' ' for none so value is preserved next time through Configure
$test X"$vendorman1dir" = "X" && vendorman1dir=' '
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installvendorman1dir=`echo "$vendorman1direxp" | $sed "s#^$prefixexp#$installprefixexp#"`
-else
- installvendorman1dir="$vendorman1direxp"
-fi
+prefixvar=vendorman1dir
+. ./installprefix
?RCS: $Id: vendorman3dir.U,v 1.1 1999/07/08 18:32:57 doughera Exp doughera $
?RCS:
?RCS: Copyright (c) 1999-2000, Andy Dougherty
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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 Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
-?RCS:
+?RCS:
?RCS: $Log: vendorman3dir.U,v $
?RCS: Revision 1.1 1999/07/08 18:32:57 doughera
?RCS: Initial revision
?RCS:
?RCS:
?MAKE:vendorman3dir vendorman3direxp installvendorman3dir: man3dir Getfile \
- Oldconfig Prefixit test vendorprefix prefix prefixexp sed \
- installprefix installprefixexp
+ Oldconfig Setprefixvar Prefixit test vendorprefix prefix sed
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
?S:vendorman3dir:
-?S: This variable contains the name of the directory for man3
+?S: This variable contains the name of the directory for man3
?S: pages. It may have a ~ on the front.
?S: The standard distribution will put nothing in this directory.
?S: Vendors who distribute perl may wish to place their own
?S: man3 pages in this directory with
-?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
+?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
?S: or equivalent. See INSTALL for details.
?S:.
?S:vendorman3direxp:
?S: This variable is the ~name expanded version of vendorman3dir, so that you
?S: may use it directly in Makefiles or shell scripts.
?S:.
+?D:installvendorman3dir=''
?S:installvendorman3dir:
?S: This variable is really the same as vendorman3direxp but may differ on
?S: those systems using AFS. For extra portability, only this variable
esac
: Use ' ' for none so value is preserved next time through Configure
$test X"$vendorman3dir" = "X" && vendorman3dir=' '
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installvendorman3dir=`echo "$vendorman3direxp" | $sed "s#^$prefixexp#$installprefixexp#"`
-else
- installvendorman3dir="$vendorman3direxp"
-fi
+prefixvar=vendorman3dir
+. ./installprefix
?RCS: $Id: vendorscript.U,v 1.1 1999/07/08 18:32:57 doughera Exp doughera $
?RCS:
?RCS: Copyright (c) 1999, Andy Dougherty
-?RCS:
+?RCS:
?RCS: You may redistribute only under the terms of the Artistic Licence,
?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 Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
-?RCS:
+?RCS:
?RCS: $Log: vendorscript.U,v $
?RCS: Revision 1.1 1999/07/08 18:32:57 doughera
?RCS: Initial revision
?RCS:
?RCS:
-?MAKE:d_vendorscript vendorscript vendorscriptexp installvendorscript: \
- vendorbin cat Getfile Oldconfig Prefixit test vendorprefix \
- prefix prefixexp sed installprefix installprefixexp
+?MAKE:d_vendorscript vendorscript vendorscriptexp installvendorscript: Getfile \
+ vendorbin cat sed Setprefixvar Oldconfig Prefixit test vendorprefix
?MAKE: -pick add $@ %<
+?LINT:change prefixvar
?Y:TOP
?S:vendorscript:
?S: This variable contains the eventual value of the VENDORSCRIPT symbol.
?S: The standard distribution will put nothing in this directory.
?S: Vendors who distribute perl may wish to place additional
?S: executable scripts in this directory with
-?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
+?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
?S: or equivalent. See INSTALL for details.
?S:.
?S:vendorscriptexp:
?S: This variable is the ~name expanded version of vendorscript, so that you
?S: may use it directly in Makefiles or shell scripts.
?S:.
+?D:installvendorscript=''
?S:installvendorscript:
?S: This variable is really the same as vendorscriptexp but may differ on
?S: those systems using AFS. For extra portability, only this variable
?C: The standard distribution will put nothing in this directory.
?C: Vendors who distribute perl may wish to place additional
?C: executable scripts in this directory with
-?C: MakeMaker Makefile.PL INSTALLDIRS=vendor
+?C: MakeMaker Makefile.PL INSTALLDIRS=vendor
?C: or equivalent. See INSTALL for details.
?C:.
?C:PERL_VENDORSCRIPT_EXP:
esac
$cat <<EOM
-The installation process will create a directory for
+The installation process will create a directory for
vendor-supplied scripts.
EOM
vendorscriptexp="$ansexp"
;;
esac
-: Change installation prefix, if necessary.
-if $test X"$prefix" != X"$installprefix"; then
- installvendorscript=`echo $vendorscriptexp | $sed "s#^$prefixexp#$installprefixexp#"`
-else
- installvendorscript="$vendorscriptexp"
-fi
+prefixvar=vendorscript
+. ./installprefix