mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-21 21:50:07 +02:00
* Install extra files relative to $(prefix) instead of $(baseinstalldir). This way yylex.cod and yyparse.cod can be installed without using a absolute path (Not possible in archives)
git-svn-id: trunk@28945 -
This commit is contained in:
parent
0028210b53
commit
49a7323b64
@ -6666,7 +6666,7 @@ begin
|
|||||||
GlobalDictionary.AddVariable('unitinstalldir',Defaults.UnitInstallDir);
|
GlobalDictionary.AddVariable('unitinstalldir',Defaults.UnitInstallDir);
|
||||||
GlobalDictionary.AddVariable('packageunitinstalldir',APackage.GetPackageUnitInstallDir(Defaults.CPU,Defaults.OS));
|
GlobalDictionary.AddVariable('packageunitinstalldir',APackage.GetPackageUnitInstallDir(Defaults.CPU,Defaults.OS));
|
||||||
|
|
||||||
D:=IncludeTrailingPathDelimiter(Defaults.BaseInstallDir);
|
D:=FixPath(Defaults.Prefix);
|
||||||
// This is to install the TPackage.Installfiles, which are not related to any
|
// This is to install the TPackage.Installfiles, which are not related to any
|
||||||
// target
|
// target
|
||||||
if InstallPackageFiles(APackage,[],D) then
|
if InstallPackageFiles(APackage,[],D) then
|
||||||
|
Loading…
Reference in New Issue
Block a user