This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[UTIL] Perl system does not default to $_
[metaconfig.git] / dist / U / patchlevel.U
CommitLineData
33a01fd2 1?RCS: $Id$
d8875586
MBT
2?RCS:
3?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
4?RCS:
33a01fd2 5?RCS: You may redistribute only under the terms of the Artistic License,
d8875586
MBT
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
33a01fd2 8?RCS: that same Artistic License; a copy of which may be found at the root
d8875586
MBT
9?RCS: of the source tree for dist 4.0.
10?RCS:
11?RCS: $Log: patchlevel.U,v $
12?RCS: Revision 3.0.1.1 1997/02/28 16:18:41 ram
13?RCS: patch61: added support for src.U
14?RCS:
15?RCS: Revision 3.0 1993/08/18 12:09:31 ram
16?RCS: Baseline for dist 3.0 netwide release.
17?RCS:
18?MAKE:patchlevel: package baserev test rsrc
19?MAKE: -pick add $@ %<
20?T:Revision
21?S:patchlevel:
22?S: The patchlevel level of this package.
23?S: The value of patchlevel comes from the patchlevel.h file.
24?S:.
25: get the patchlevel
26echo " "
27echo "Getting the current patchlevel..." >&4
28if $test -r $rsrc/patchlevel.h;then
29 patchlevel=`awk \
30 '/^#[ ]*define[ ][ ]*PATCHLEVEL/ {print $3}' \
31 < $rsrc/patchlevel.h`
32else
33 patchlevel=0
34fi
35echo "(You have $package $baserev PL$patchlevel.)"
36