build: clean hds schema directories correctly
Change-Id: Ie55706885cdaa5bb94f8bf419aac25c326192d64 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5814 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
parent
ba659bbc25
commit
b06ada87fe
@ -1,3 +1,11 @@
|
||||
RM_DIR ?= $(RM) -rf ;
|
||||
|
||||
actions piecemeal together existing CleanDir
|
||||
{
|
||||
$(RM_DIR) "$(>)"
|
||||
}
|
||||
|
||||
|
||||
rule Copy
|
||||
{
|
||||
if $(2) {
|
||||
|
@ -38,7 +38,7 @@ rule HdsSchemaGenModel
|
||||
SEARCH on $(3) = [ FDirName $(SUBDIR) build scripts ] ;
|
||||
|
||||
MkDir1 $(1:D) ;
|
||||
Clean clean : $(1:D) ;
|
||||
CleanDir clean : $(1:D) ;
|
||||
Depends $(1) : $(2) $(3) $(1:D) ;
|
||||
HdsSchemaGenModel1 $(1) : $(2) $(3) $(1:D) ;
|
||||
}
|
||||
@ -61,7 +61,7 @@ rule HdsSchemaGenBulkParser
|
||||
SEARCH on $(3) = [ FDirName $(SUBDIR) build scripts ] ;
|
||||
|
||||
MkDir1 $(1:D) ;
|
||||
Clean clean : $(1:D) ;
|
||||
CleanDir clean : $(1:D) ;
|
||||
Depends $(1) : $(2) $(3) $(1:D) ;
|
||||
HdsSchemaGenBulkParser1 $(1) : $(2) $(3) $(1:D) ;
|
||||
}
|
||||
@ -84,7 +84,7 @@ rule HdsSchemaGenParser
|
||||
SEARCH on $(3) = [ FDirName $(SUBDIR) build scripts ] ;
|
||||
|
||||
MkDir1 $(1:D) ;
|
||||
Clean clean : $(1:D) ;
|
||||
CleanDir clean : $(1:D) ;
|
||||
Depends $(1) : $(2) $(3) $(1:D) ;
|
||||
HdsSchemaGenParser1 $(1) : $(2) $(3) $(1:D) ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user