diff options
author | David Tardon <dtardon@redhat.com> | 2012-04-07 10:06:19 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-05-29 07:24:54 +0200 |
commit | 9e669026f2f50ec42fc21e66a984be715714b95e (patch) | |
tree | 3f53540a6b72c3ae0078209ac6225b41e082bbaf | |
parent | 2e6bc9f6369167cccaf30277eccef9b3f9076888 (diff) |
allow adding more package files at once
-rw-r--r-- | solenv/gbuild/Jar.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/solenv/gbuild/Jar.mk b/solenv/gbuild/Jar.mk index d0baa4a1ccbf..b85681b4dcb5 100644 --- a/solenv/gbuild/Jar.mk +++ b/solenv/gbuild/Jar.mk @@ -134,6 +134,12 @@ $(call gb_Jar_get_workdir,$(1))/$(strip $(2)) : $(3) $(call gb_JavaClassSet_get_ endef +# gb_Jar_add_packagefiles jar target-dir file(s) +define gb_Jar_add_packagefiles +$(foreach file,$(3),$(call gb_Jar_add_packagefile,$(1),$(if $(strip $(2)),$(strip $(2))/)$(notdir $(file)),$(file))) + +endef + define gb_Jar_add_sourcefiles $(foreach sourcefile,$(2),$(call gb_Jar_add_sourcefile,$(1),$(sourcefile))) |