mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 17:17:52 +02:00
fpc deb: replace only version= in Makefiles, do not touch REQUIREDVERSION
git-svn-id: trunk@41248 -
This commit is contained in:
parent
14ebf16300
commit
4bbdc342df
@ -71,7 +71,7 @@ CompilerVersionStr="$CompilerVersion.$CompilerRelease.$CompilerPatch"
|
||||
LazVersion="$CompilerVersion.$CompilerRelease.$CompilerPatch$CompilerMinorPatch"
|
||||
|
||||
# set version numbers in all Makefiles
|
||||
perl replace_in_files.pl -sR -f '=\d.\d.\d' -r =$LazVersion -m 'Makefile(.fpc)?' $TmpFPCDir/*
|
||||
perl replace_in_files.pl -sR -f 'version=\d.\d.\d' -r version=$LazVersion -m 'Makefile(.fpc)?' $TmpFPCDir/*
|
||||
|
||||
# create a source tar.gz
|
||||
cd $TmpDir
|
||||
|
@ -196,7 +196,7 @@ ReplaceScript=replace_in_files.pl
|
||||
|
||||
# set version numbers in all Makefiles
|
||||
echo "set version numbers in all Makefiles ..."
|
||||
perl replace_in_files.pl -sR -f '=\d.\d.\d' -r =$CompilerVersionStr -m 'Makefile(.fpc)?' $FPCSrcDir/*
|
||||
perl replace_in_files.pl -sR -f 'version=\d.\d.\d' -r version=$CompilerVersionStr -m 'Makefile(.fpc)?' $FPCSrcDir/*
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user