diff --git a/build/jam/FileRules b/build/jam/FileRules index 68313e6da5..140503b1c2 100644 --- a/build/jam/FileRules +++ b/build/jam/FileRules @@ -1,3 +1,11 @@ +RM_DIR ?= $(RM) -rf ; + +actions piecemeal together existing CleanDir +{ + $(RM_DIR) "$(>)" +} + + rule Copy { if $(2) { diff --git a/src/apps/haikudepot/build/jam/HdsSchemaGenRules b/src/apps/haikudepot/build/jam/HdsSchemaGenRules index 0643998700..2fdaef0676 100644 --- a/src/apps/haikudepot/build/jam/HdsSchemaGenRules +++ b/src/apps/haikudepot/build/jam/HdsSchemaGenRules @@ -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) ; }