Lazarus
Installation => General => Topic started by: vfclists on March 09, 2015, 09:41:23 pm
-
I am compiling Lazarus by compiling from a local copy of Graeme's git mirror, and because I am not compiling in the working directory (I copy it to a separate directory) svn2revision is outputting "Unversioned directory" as the svn revision.
Can it be bypassed or fooled in some way, so I can add both the Lazarus and FreePascal versions manually?
-
In Tool->Configure Build lazarus you can uncheck the option to use it.
Bart
-
If you are using command line, add USESVN2REVISIONINC=0 into your make options.
-
If you are using command line, add USESVN2REVISIONINC=0 into your make options.
I tried it like this in a build script and it doesn't seem to work
make all PP=${FPC_COMPILER} USESVN2REVISIONINC=0
-
You need to generate ide/revision.inc manually.
-
You need to generate ide/revision.inc manually.
I am generating it manually but the output says 'exported' even when I set 'USESVN2REVISIONINC=0' in the 'make' command.
UPDATE: The solution works, I wasn't creating the revision.inc properly. It has to be the way svn2revision creates its own revision.inc files. I had some different syntax there.