1 ?RCS: $Id: vendorbin.U,v 1.1 1999/07/08 18:32:57 doughera Exp doughera $
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: vendorbin.U,v $
12 ?RCS: Revision 1.1 1999/07/08 18:32:57 doughera
13 ?RCS: Initial revision
15 ?MAKE:d_vendorbin vendorbin vendorbinexp installvendorbin: Getfile \
16 Setprefixvar Oldconfig Prefixit vendorprefix
17 ?MAKE: -pick add $@ %<
20 ?S: This variable contains the eventual value of the VENDORBIN symbol.
21 ?S: It may have a ~ on the front.
22 ?S: The standard distribution will put nothing in this directory.
23 ?S: Vendors who distribute perl may wish to place additional
24 ?S: binaries in this directory with
25 ?S: MakeMaker Makefile.PL INSTALLDIRS=vendor
26 ?S: or equivalent. See INSTALL for details.
29 ?S: This variable is the ~name expanded version of vendorbin, so that you
30 ?S: may use it directly in Makefiles or shell scripts.
32 ?D:installvendorbin=''
34 ?S: This variable is really the same as vendorbinexp but may differ on
35 ?S: those systems using AFS. For extra portability, only this variable
36 ?S: should be used in makefiles.
39 ?S: This variable conditionally defines PERL_VENDORBIN.
42 ?C: If defined, this symbol contains the name of a directory
43 ?C: for holding vendor-supplied executables.
44 ?C: It may have a ~ on the front.
45 ?C: The standard distribution will put nothing in this directory.
46 ?C: Vendors who distribute perl may wish to place additional
47 ?C: binaries in this directory with
48 ?C: MakeMaker Makefile.PL INSTALLDIRS=vendor
49 ?C: or equivalent. See INSTALL for details.
51 ?C:PERL_VENDORBIN_EXP:
52 ?C: This symbol contains the ~name expanded version of VENDORBIN, to be used
53 ?C: in programs that are not prepared to deal with ~ expansion at run-time.
55 ?H:#$d_vendorbin PERL_VENDORBIN "$vendorbin" /**/
56 ?H:#$d_vendorbin PERL_VENDORBIN_EXP "$vendorbinexp" /**/
58 ?LINT:change prefixvar
59 ?LINT:set installvendorbin
60 : Set the vendorbin variables
61 case "$vendorprefix" in
62 '') d_vendorbin="$undef"
66 *) d_vendorbin="$define"
67 : determine where vendor-supplied executables go.
69 '') dflt=$vendorprefix/bin ;;
70 *) dflt="$vendorbin" ;;
73 rp='Pathname for the vendor-supplied executables directory?'
76 vendorbinexp="$ansexp"