diff options
author | Peter Foley <pefoley2@verizon.net> | 2013-02-21 00:56:13 -0600 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2013-02-23 21:39:52 +0000 |
commit | 613221bde1744265c336c2b5f2ade0bfb9b22d16 (patch) | |
tree | 9d7efa2dc01fdab24b599f7e40677d019e9ad14b /solenv | |
parent | fix deb packaging (diff) | |
download | core-613221bde1744265c336c2b5f2ade0bfb9b22d16.tar.gz core-613221bde1744265c336c2b5f2ade0bfb9b22d16.zip |
convert odk to gbuild and add to tail_build
Change-Id: I8e8de7f2bb87cce7916c7c2df24c1b0ddaea55c0
Reviewed-on: https://gerrit.libreoffice.org/2288
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/Zip.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/solenv/gbuild/Zip.mk b/solenv/gbuild/Zip.mk index f446415babc3..a5226157d768 100644 --- a/solenv/gbuild/Zip.mk +++ b/solenv/gbuild/Zip.mk @@ -47,8 +47,11 @@ $(call gb_Zip_get_clean_target,%) : $(call gb_Zip_get_target,%) : $(call gb_Output_announce,$*,$(true),ZIP,3) $(call gb_Helper_abbreviate_dirs,\ + RESPONSEFILE=$(call var2file,$(shell $(gb_MKTEMP)),500,\ + $(FILES)) && \ mkdir -p $(dir $(call gb_Zip_get_target,$*)) && \ - cd $(LOCATION) && $(gb_Zip_ZIPCOMMAND) -rX --filesync $(call gb_Zip_get_target,$*) $(FILES) ) + cd $(LOCATION) && cat $${RESPONSEFILE} | tr "[:space:]" "\n" | $(gb_Zip_ZIPCOMMAND) -@rX --filesync $(call gb_Zip_get_target,$*) && \ + rm -f $${RESPONSEFILE} ) # the final target is a touch target; we use it as registered targets should be in workdir, not in outdir # the outdir target depends on the workdir target and is built by delivering the latter |