8074988: Reduce boilerplate in Setup* macro definitions
authorerikj
Thu, 12 Mar 2015 12:13:53 +0100
changeset 29415 7f36aa566efe
parent 29414 4c635c98c0b4
child 29416 6fae74f3f890
8074988: Reduce boilerplate in Setup* macro definitions Reviewed-by: tbell, ihse
nashorn/make/BuildNashorn.gmk
--- a/nashorn/make/BuildNashorn.gmk	Wed Mar 11 17:52:23 2015 +0100
+++ b/nashorn/make/BuildNashorn.gmk	Thu Mar 12 12:13:53 2015 +0100
@@ -105,8 +105,8 @@
 
 # Create nashorn.jar from the final classes dir
 $(eval $(call SetupArchive,BUILD_NASHORN_JAR, \
-    $(NASGEN_RUN_FILE) \
-    $(VERSION_FILE), \
+    DEPENDENCIES := $(NASGEN_RUN_FILE) \
+        $(VERSION_FILE), \
     SRCS := $(NASHORN_CLASSES_DIR), \
     SUFFIXES := .class .js .properties Factory, \
     MANIFEST := $(NASHORN_TOPDIR)/src/jdk.scripting.nashorn/share/classes/META-INF/MANIFEST.MF, \