mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 06:28:55 +02:00
Restore usage of revision.inc file, but do not print date and revision information into generated Makefile's
git-svn-id: trunk@44311 -
This commit is contained in:
parent
47b5d0b92e
commit
5cd59fd353
@ -59,7 +59,13 @@ interface
|
||||
const
|
||||
Version='2.0.0';
|
||||
Title='FPCMake Version '+Version;
|
||||
TitleDate=Title;
|
||||
{$ifdef REVINC}
|
||||
DateRevision={$i revision.inc};
|
||||
{$else}
|
||||
DateRevision={$I %DATE%}+' no revision';
|
||||
{$endif}
|
||||
TitleNoDate=Title;
|
||||
TitleDate=Title+' '+DateRevision;
|
||||
|
||||
type
|
||||
TCpu=(
|
||||
|
@ -731,7 +731,7 @@ implementation
|
||||
begin
|
||||
{ Header }
|
||||
Add('#');
|
||||
Add('# Don''t edit, this file is generated by '+TitleDate);
|
||||
Add('# Don''t edit, this file is generated by '+TitleNoDate);
|
||||
Add('#');
|
||||
if FInput.HasVariable('default_rule') then
|
||||
Add('default: '+FInput.GetVariable('default_rule',false))
|
||||
|
Loading…
Reference in New Issue
Block a user