1 ?RCS: $Id: sitescript.U,v $
3 ?RCS: Copyright (c) 1999 Andy Dougherty
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.
11 ?RCS: $Log: sitescript.U,v $
13 ?MAKE:sitescript sitescriptexp installsitescript : Getfile Oldconfig test \
14 Setprefixvar sitebin siteprefix
15 ?MAKE: -pick add $@ %<
16 ?LINT:change prefixvar
20 ?S: This variable holds the name of the directory in which the user wants
21 ?S: to put add-on publicly executable files for the package in question. It
22 ?S: is most often a local directory such as /usr/local/bin. Programs using
23 ?S: this variable must be prepared to deal with ~name substitution.
24 ?S: The standard distribution will put nothing in this directory.
25 ?S: After perl has been installed, users may install their own local
26 ?S: scripts in this directory with
27 ?S: MakeMaker Makefile.PL
28 ?S: or equivalent. See INSTALL for details.
32 ?S: This is the same as the sitescript variable, but is filename expanded at
33 ?S: configuration time, for use in your makefiles.
35 ?D:installsitescript=''
37 ?S: This variable is usually the same as sitescriptexp, unless you are on
38 ?S: a system running AFS, in which case they may differ slightly. You
39 ?S: should always use this variable within your makefiles for portability.
42 : determine where add-on public executable scripts go
44 '') dflt=$siteprefix/script
45 $test -d $dflt || dflt=$sitebin ;;
46 *) dflt="$sitescript" ;;
49 rp='Pathname where add-on public executable scripts should be installed?'