From 371472d9fb6a936149b105a6563a0550d35bdf1a Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Mon, 1 Dec 2003 17:11:15 +0000 Subject: Initial import of upstream branch Initial import of upstream branch git-archimport-id: srivasta@debian.org--2003-primary/dist--upstream--3.70--base-0 --- mcon/U/sitearch.U | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 mcon/U/sitearch.U (limited to 'mcon/U/sitearch.U') diff --git a/mcon/U/sitearch.U b/mcon/U/sitearch.U new file mode 100644 index 0000000..89e1296 --- /dev/null +++ b/mcon/U/sitearch.U @@ -0,0 +1,94 @@ +?RCS: $Id: sitearch.U,v 3.0.1.1 1997/02/28 16:21:30 ram Exp $ +?RCS: +?RCS: Copyright (c) 1996, Andy Dougherty +?RCS: Copyright (c) 1991-1993, Raphael Manfredi +?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: $Log: sitearch.U,v $ +?RCS: Revision 3.0.1.1 1997/02/28 16:21:30 ram +?RCS: patch61: created +?RCS: +?MAKE:sitearch sitearchexp installsitearch: afs cat Getfile \ + Oldconfig Prefixit prefix test archname sitelib +?MAKE: -pick add $@ %< +?Y:TOP +?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: have a ~ on the front. It is up to the makefile to eventually create +?S: this directory while performing installation (with ~ substitution). +?S:. +?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:. +?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 +?S: should be used in makefiles. +?S:. +?C:SITEARCH: +?C: This symbol contains the name of the private library for this package. +?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. The program +?C: should be prepared to do ~ expansion. +?C: The standard distribution will put nothing in this directory. +?C: Individual sites may place their own extensions and modules in +?C: this directory. +?C:. +?C:SITEARCH_EXP: +?C: This symbol contains the ~name expanded version of SITEARCH, to be used +?C: in programs that are not prepared to deal with ~ expansion at run-time. +?C:. +?H:#define SITEARCH "$sitearch" /**/ +?H:#define SITEARCH_EXP "$sitearchexp" /**/ +?H:. +?T:xxx +: determine where site specific architecture-dependent libraries go. +xxx=`echo $sitelib/$archname | sed 's!^$prefix!!'` +: xxx is usuually lib/site_perl/archname. +set sitearch sitearch none +eval $prefixit +case "$sitearch" in +'') dflt="$sitelib/$archname" ;; +*) dflt="$sitearch" ;; +esac +$cat <