mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-21 22:50:26 +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
|
const
|
||||||
Version='2.0.0';
|
Version='2.0.0';
|
||||||
Title='FPCMake Version '+Version;
|
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
|
type
|
||||||
TCpu=(
|
TCpu=(
|
||||||
|
@ -731,7 +731,7 @@ implementation
|
|||||||
begin
|
begin
|
||||||
{ Header }
|
{ Header }
|
||||||
Add('#');
|
Add('#');
|
||||||
Add('# Don''t edit, this file is generated by '+TitleDate);
|
Add('# Don''t edit, this file is generated by '+TitleNoDate);
|
||||||
Add('#');
|
Add('#');
|
||||||
if FInput.HasVariable('default_rule') then
|
if FInput.HasVariable('default_rule') then
|
||||||
Add('default: '+FInput.GetVariable('default_rule',false))
|
Add('default: '+FInput.GetVariable('default_rule',false))
|
||||||
|
Loading…
Reference in New Issue
Block a user