Debian Codegraph @

regen-configure/U/installdirs/sitebin.U

raw
1 ?RCS: $Id: sitebin.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: sitebin.U,v $
12 ?RCS:
13 ?MAKE:sitebin sitebinexp installsitebin : Getfile Oldconfig \
14 Setprefixvar siteprefix
15 ?MAKE: -pick add $@ %<
16 ?Y:TOP
17 ?D:sitebin=''
18 ?S:sitebin:
19 ?S: This variable holds the name of the directory in which the user wants
20 ?S: to put add-on publicly executable files for the package in question. It
21 ?S: is most often a local directory such as /usr/local/bin. Programs using
22 ?S: this variable must be prepared to deal with ~name substitution.
23 ?S: The standard distribution will put nothing in this directory.
24 ?S: After perl has been installed, users may install their own local
25 ?S: executables in this directory with
26 ?S: MakeMaker Makefile.PL
27 ?S: or equivalent. See INSTALL for details.
28 ?S:.
29 ?D:sitebinexp=''
30 ?S:sitebinexp:
31 ?S: This is the same as the sitebin variable, but is filename expanded at
32 ?S: configuration time, for use in your makefiles.
33 ?S:.
34 ?D:installsitebin=''
35 ?S:installsitebin:
36 ?S: This variable is usually the same as sitebinexp, unless you are on
37 ?S: a system running AFS, in which case they may differ slightly. You
38 ?S: should always use this variable within your makefiles for portability.
39 ?S:.
40 ?LINT:change prefixvar
41 ?LINT:set installsitebin
42 ?LINT:set sitebin
43 ?LINT:set sitebinexp
44 : determine where add-on public executables go
45 case "$sitebin" in
46 '') dflt=$siteprefix/bin ;;
47 *) dflt=$sitebin ;;
48 esac
49 fn=d~
50 rp='Pathname where the add-on public executables should be installed?'
51 . ./getfile
52 prefixvar=sitebin
53 . ./setprefixvar
54