?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: 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: vendorbin.U,v $ ?RCS: Revision 1.1 1999/07/08 18:32:57 doughera ?RCS: Initial revision ?RCS: ?MAKE:d_vendorbin vendorbin vendorbinexp installvendorbin: Getfile \ Setprefixvar Oldconfig Prefixit vendorprefix ?MAKE: -pick add $@ %< ?Y:TOP ?S:vendorbin: ?S: This variable contains the eventual value of the VENDORBIN symbol. ?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 additional ?S: binaries in this directory with ?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 ?S: should be used in makefiles. ?S:. ?S:d_vendorbin: ?S: This variable conditionally defines PERL_VENDORBIN. ?S:. ?C:PERL_VENDORBIN: ?C: If defined, this symbol contains the name of a directory ?C: for holding vendor-supplied executables. ?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 additional ?C: binaries in this directory with ?C: MakeMaker Makefile.PL INSTALLDIRS=vendor ?C: or equivalent. See INSTALL for details. ?C:. ?C:PERL_VENDORBIN_EXP: ?C: This symbol contains the ~name expanded version of VENDORBIN, to be used ?C: in programs that are not prepared to deal with ~ expansion at run-time. ?C:. ?H:#$d_vendorbin PERL_VENDORBIN "$vendorbin" /**/ ?H:#$d_vendorbin PERL_VENDORBIN_EXP "$vendorbinexp" /**/ ?H:. ?LINT:change prefixvar ?LINT:set installvendorbin : Set the vendorbin variables case "$vendorprefix" in '') d_vendorbin="$undef" vendorbin='' vendorbinexp='' ;; *) d_vendorbin="$define" : determine where vendor-supplied executables go. case "$vendorbin" in '') dflt=$vendorprefix/bin ;; *) dflt="$vendorbin" ;; esac fn=d~+ rp='Pathname for the vendor-supplied executables directory?' . ./getfile vendorbin="$ans" vendorbinexp="$ansexp" ;; esac prefixvar=vendorbin . ./installprefix