diff options
Diffstat (limited to 'mcon/pl/configure.pl')
-rw-r--r-- | mcon/pl/configure.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mcon/pl/configure.pl b/mcon/pl/configure.pl index f78925f..a5aed29 100644 --- a/mcon/pl/configure.pl +++ b/mcon/pl/configure.pl @@ -110,7 +110,9 @@ sub process_command { s/<PACKAGENAME>/$package/g; s/<MAINTLOC>/$maintloc/g; s/<VERSION>/$version/g; # This is metaconfig's version - s/<PATCHLEVEL>/$patchlevel/g; # And patchlevel information + s/<REVISION>/$revision/g; # And revision information + warn "\"$file\": usage of <PATCHLEVEL> is deprecated\n" + if s/<PATCHLEVEL>/$patchlevel/g; s/<DATE>/$date/g; s/<BASEREV>/$baserev/g; s/<\$(\w+)>/eval("\$$1")/ge; # <$var> -> $var substitution |