diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-11T13·47+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-11T13·47+0200 |
commit | 9648222ef0ad7cd4478d61c3ffd6fe9926a859df (patch) | |
tree | 292bf9230d8078bbc4feb40b1587857389ef67a3 /jars.mk | |
parent | 44e7e3bb9b36bca7023d207c51b7380b78ccfc4c (diff) |
Support specifying a JAR manifest
Diffstat (limited to 'jars.mk')
-rw-r--r-- | jars.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jars.mk b/jars.mk index 186a81df1a94..abe3f9fe5bb7 100644 --- a/jars.mk +++ b/jars.mk @@ -16,7 +16,7 @@ define build-jar $$(trace-javac) javac $(GLOBAL_JAVACFLAGS) $$($(1)_JAVACFLAGS) -d $$($(1)_TMPDIR) \ $$(foreach fn, $$($(1)_SOURCES), '$$(fn)') \ -cp "$$(subst $$(space),,$$(foreach jar,$$($(1)_JARS),$$($$(jar)_PATH):))$$$$CLASSPATH" - $$(trace-jar) jar cf $$($(1)_PATH) -C $$($(1)_TMPDIR) . + $$(trace-jar) jar cfm $$($(1)_PATH) <(echo -e '$$(subst $$(newline),\n,$$($(1)_MANIFEST))') -C $$($(1)_TMPDIR) . @rm -rf $$($(1)_TMPDIR) $(1)_INSTALL_DIR ?= $$(libdir)/java |