comparison make/MainSupport.gmk @ 44697:ae11efc5ed76

Merge
author lana
date Sat, 22 Apr 2017 00:21:19 +0000
parents 4f71f07b30d1
children 822ca950ddaa
comparison
equal deleted inserted replaced
13:f516e38cb806 14:d0c7084a64fd
39 ALT_OUTPUTDIR=$(OUTPUT_ROOT) TEST_JOBS=$(TEST_JOBS) \ 39 ALT_OUTPUTDIR=$(OUTPUT_ROOT) TEST_JOBS=$(TEST_JOBS) \
40 JT_JAVA=$(BOOT_JDK) \ 40 JT_JAVA=$(BOOT_JDK) \
41 JOBS=$(JOBS) $1) || true 41 JOBS=$(JOBS) $1) || true
42 endef 42 endef
43 43
44 define CleanDocs
45 @$(PRINTF) "Cleaning docs ..."
46 @$(PRINTF) "\n" $(LOG_DEBUG)
47 $(RM) -r $(SUPPORT_OUTPUTDIR)/docs
48 $(RM) -r $(SUPPORT_OUTPUTDIR)/javadoc
49 $(RM) -r $(IMAGES_OUTPUTDIR)/docs
50 @$(PRINTF) " done\n"
51 endef
52
44 # Cleans the dir given as $1 53 # Cleans the dir given as $1
45 define CleanDir 54 define CleanDir
46 @$(PRINTF) "Cleaning $(strip $1) build artifacts ..." 55 @$(PRINTF) "Cleaning $(strip $1) build artifacts ..."
47 @$(PRINTF) "\n" $(LOG_DEBUG) 56 @$(PRINTF) "\n" $(LOG_DEBUG)
48 ($(CD) $(OUTPUT_ROOT) && $(RM) -r $1) 57 ($(CD) $(OUTPUT_ROOT) && $(RM) -r $1)
94 103
95 define Clean-include 104 define Clean-include
96 @$(PRINTF) "Cleaning include $(if $1,for $(strip $1) )..." 105 @$(PRINTF) "Cleaning include $(if $1,for $(strip $1) )..."
97 @$(PRINTF) "\n" $(LOG_DEBUG) 106 @$(PRINTF) "\n" $(LOG_DEBUG)
98 $(RM) -r $(SUPPORT_OUTPUTDIR)/modules_include/$(strip $1) 107 $(RM) -r $(SUPPORT_OUTPUTDIR)/modules_include/$(strip $1)
99 @$(PRINTF) " done\n"
100 endef
101
102 define Clean-docs
103 @$(PRINTF) "Cleaning docs ..."
104 @$(PRINTF) "\n" $(LOG_DEBUG)
105 $(RM) -r $(SUPPORT_OUTPUTDIR)/docs
106 $(RM) -r $(IMAGES_OUTPUTDIR)/docs
107 $(RM) $(OUTPUT_ROOT)/bundles/jdk-*-docs.zip
108 @$(PRINTF) " done\n" 108 @$(PRINTF) " done\n"
109 endef 109 endef
110 110
111 define CleanModule 111 define CleanModule
112 $(call Clean-gensrc, $1) 112 $(call Clean-gensrc, $1)