Browse Source

Ensure that fpmake_proc.inc and fpmake_add.inc source files are integrated into source zips for packages and utils

git-svn-id: trunk@42779 -
pierre 6 years ago
parent
commit
5e4c510563
2 changed files with 8 additions and 0 deletions
  1. 4 0
      packages/fpmake.pp
  2. 4 0
      utils/fpmake.pp

+ 4 - 0
packages/fpmake.pp

@@ -37,6 +37,10 @@ begin
       // Create fpc-all package
       PBuild:=AddPackage('fpc-all');
       PBuild.Version:='3.3.1';
+      { The source files fpmake_proc.inc and fpmake_add.inc
+        need to be added explicitly to be integrated in source zip }
+      PBuild.Sources.AddSrc('fpmake_proc.inc');
+      PBuild.Sources.AddSrc('fpmake_add.inc');
     end;
 end;
 

+ 4 - 0
utils/fpmake.pp

@@ -95,6 +95,10 @@ begin
     T.ResourceStrings:=true;
     P.Targets.AddUnit('usubst.pp').install:=false;
     P.Targets.AddUnit('ptopu.pp').install:=false;
+    { The source files fpmake_proc.inc and fpmake_add.inc
+      need to be added explicitly to be integrated in source zip }
+    P.Sources.AddSrc('fpmake_proc.inc');
+    P.Sources.AddSrc('fpmake_add.inc');
     end;
 
   {$include fpmake_add.inc}