* 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:
joost 2014-10-29 20:20:58 +00:00
parent 0028210b53
commit 49a7323b64

View File

@ -6666,7 +6666,7 @@ begin
GlobalDictionary.AddVariable('unitinstalldir',Defaults.UnitInstallDir);
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
// target
if InstallPackageFiles(APackage,[],D) then