This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add the files from dist/meta to perl's repo
[metaconfig.git] / dist / U / etc.U
1 ?RCS: $Id: etc.U 1 2006-08-24 12:32:52Z rmanfredi $
2 ?RCS:
3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
4 ?RCS: 
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 4.0.
10 ?RCS:
11 ?RCS: $Log: etc.U,v $
12 ?RCS: Revision 3.0  1993/08/18  12:08:07  ram
13 ?RCS: Baseline for dist 3.0 netwide release.
14 ?RCS:
15 ?MAKE:etc etcexp: Getfile Loc Oldconfig
16 ?MAKE:  -pick add $@ %<
17 ?S:etc:
18 ?S:     This variable holds the name of the directory in which the user wants
19 ?S:     to put "administrative" executable images for the package in question.
20 ?S:     It is most often a local directory such as /usr/local/etc. Programs
21 ?S:     relying on this variable must be prepared to deal with ~name
22 ?S:     substitutions.
23 ?S:.
24 ?S:etcexp:
25 ?S:     This is the same as the etc variable, but is filename expanded at
26 ?S:     configuration time, for convenient use in makefiles.
27 ?S:.
28 : determine where administrative executables go
29 case "$etc" in
30 '')
31         dflt=`./loc . /local/etc /usr/local/etc /local/etc /usr/etc /etc`
32         ;;
33 *)
34         dflt="$etc"
35         ;;
36 esac
37 fn=d~
38 rp='Where should the administrative executables go?'
39 . ./getfile
40 etc="$ans"
41 etcexp="$ansexp"
42