Commit | Line | Data |
---|---|---|
b9c2d1df JH |
1 | ?RCS: $Id$ |
2 | ?RCS: | |
3 | ?RCS: Copyright (c) 2000, Andy Dougherty | |
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 3.0. | |
10 | ?RCS: | |
f320baf6 | 11 | ?MAKE:versiononly: cat Myread Setvar Devel |
b9c2d1df JH |
12 | ?MAKE: -pick add $@ %< |
13 | ?LINT:set versiononly | |
14 | ?Y:TOP | |
15 | ?S:versiononly: | |
16 | ?S: If set, this symbol indicates that only the version-specific | |
17 | ?S: components of a perl installation should be installed. | |
18 | ?S: This may be useful for making a test installation of a new | |
19 | ?S: version without disturbing the existing installation. | |
20 | ?S: Setting versiononly is equivalent to setting installperl's -v option. | |
21 | ?S: In particular, the non-versioned scripts and programs such as | |
22 | ?S: a2p, c2ph, h2xs, pod2*, and perldoc are not installed | |
23 | ?S: (see INSTALL for a more complete list). Nor are the man | |
24 | ?S: pages installed. | |
25 | ?S: Usually, this is undef. | |
26 | ?S:. | |
101a9262 JH |
27 | ?LINT:extern inc_version_list |
28 | ?LINT:change inc_version_list | |
732bc1b3 JH |
29 | ?LINT:extern inc_version_list_init |
30 | ?LINT:change inc_version_list_init | |
b9c2d1df JH |
31 | : determine whether to only install version-specific parts. |
32 | echo " " | |
33 | $cat <<EOM | |
34 | Do you want to install only the version-specific parts of the perl | |
35 | distribution? Usually you do *not* want to do this. | |
36 | EOM | |
37 | case "$versiononly" in | |
38 | "$define"|[Yy]*|true) dflt='y' ;; | |
39 | *) dflt='n'; | |
40 | esac | |
41 | rp="Do you want to install only the version-specific parts of perl?" | |
42 | . ./myread | |
43 | case "$ans" in | |
44 | [yY]*) val="$define";; | |
45 | *) val="$undef" ;; | |
46 | esac | |
47 | set versiononly | |
48 | eval $setvar | |
49 | ||
101a9262 JH |
50 | case "$versiononly" in |
51 | "$define") inc_version_list='' | |
52 | inc_version_list_init=0 | |
53 | ;; | |
54 | esac | |
55 |