Moved the optionalpackage P7zip's code for creating expander.rules into a new
rule AddExpanderRuleToHaikuImage. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35720 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -823,16 +823,11 @@ if [ IsOptionalHaikuImagePackageAdded P7zip ] {
|
||||
:
|
||||
;
|
||||
}
|
||||
AddExpanderRuleToHaikuImage "application/x-7z-compressed" : .7z
|
||||
: "7za l \\0045s"
|
||||
: "7za x -y \\0045s"
|
||||
;
|
||||
|
||||
actions BuildHaikuImageExpanderRules
|
||||
{
|
||||
echo -e "\"application/x-7z-compressed\"\t.7z\t\"7za l \0045s\"\t\"7za x -y \0045s\"" > $(1)
|
||||
}
|
||||
|
||||
Always expander.rules ;
|
||||
MakeLocate expander.rules : $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) ;
|
||||
BuildHaikuImageExpanderRules expander.rules ;
|
||||
AddFilesToHaikuImage home config etc : expander.rules ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user