--- a/jdk/makefiles/Tools.gmk Wed Jul 05 18:48:16 2017 +0200
+++ b/jdk/makefiles/Tools.gmk Fri Apr 05 09:39:10 2013 +0200
@@ -47,17 +47,15 @@
endif
$(JDK_OUTPUTDIR)/btclasses/build/tools/generatenimbus/resources/%.template : \
- $(JDK_TOPDIR)/src/share/classes/javax/swing/plaf/nimbus/%.template
- $(MKDIR) -p $(@D)
- $(CP) $< $@
+ $(JDK_TOPDIR)/src/share/classes/javax/swing/plaf/nimbus/%.template
+ $(call install-file)
BUILD_TOOLS += $(foreach i,$(wildcard $(JDK_TOPDIR)/src/share/classes/javax/swing/plaf/nimbus/*.template),$(JDK_OUTPUTDIR)/btclasses/build/tools/generatenimbus/resources/$(notdir $i))
# Resources used by CheckDeps tool
$(JDK_OUTPUTDIR)/btclasses/build/tools/deps/% : \
- $(JDK_TOPDIR)/make/tools/src/build/tools/deps/%
- $(MKDIR) -p $(@D)
- $(CP) $< $@
+ $(JDK_TOPDIR)/make/tools/src/build/tools/deps/%
+ $(call install-file)
BUILD_TOOLS += $(JDK_OUTPUTDIR)/btclasses/build/tools/deps/refs.allowed