From 9a450654ae72085e849e15df0c0b3d01ab10d7f7 Mon Sep 17 00:00:00 2001 From: vincents Date: Mon, 14 Nov 2005 18:59:53 +0000 Subject: [PATCH] call svn2revisioninc the first time the IDE is compiled git-svn-id: trunk@8152 - --- ide/buildlazdialog.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ide/buildlazdialog.pas b/ide/buildlazdialog.pas index 9f98525392..669bc34aef 100644 --- a/ide/buildlazdialog.pas +++ b/ide/buildlazdialog.pas @@ -359,8 +359,8 @@ begin // append target OS if Options.TargetOS<>'' then Tool.CmdLineParams:=Tool.CmdLineParams+' OS_TARGET='+Options.TargetOS; - // don't run svn2revisioninc if no executable is created - if blfWithoutLinkingIDE in Flags then + // don't run svn2revisioninc when building the IDE for the second time + if not (blfWithoutLinkingIDE in Flags) then Tool.CmdLineParams:=Tool.CmdLineParams+' USESVN2REVISIONINC=0'; // run Result:=ExternalTools.Run(Tool,Macros);