summaryrefslogtreecommitdiff
path: root/solenv/inc/tg_zip.mk
diff options
context:
space:
mode:
authorHans-Joachim Lankenau <hjs@openoffice.org>2002-06-12 13:10:18 +0000
committerHans-Joachim Lankenau <hjs@openoffice.org>2002-06-12 13:10:18 +0000
commitbd3f3bcba37dbb20c17f89061588cf2f3a651494 (patch)
treecbd82c4d3e90ce7ccc05ac3752a920ff8d4f44be /solenv/inc/tg_zip.mk
parentd32c5acd699aa7b80b70d14b172fb7f14f31aaca (diff)
help detecting the cause of 0 byte zipfiles
Diffstat (limited to 'solenv/inc/tg_zip.mk')
-rw-r--r--solenv/inc/tg_zip.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/solenv/inc/tg_zip.mk b/solenv/inc/tg_zip.mk
index 1f94617f3a8c..05212d600b3f 100644
--- a/solenv/inc/tg_zip.mk
+++ b/solenv/inc/tg_zip.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: tg_zip.mk,v $
#
-# $Revision: 1.9 $
+# $Revision: 1.10 $
#
-# last change: $Author: hjs $ $Date: 2002-01-18 17:22:41 $
+# last change: $Author: hjs $ $Date: 2002-06-12 14:10:18 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -136,13 +136,13 @@ $(ZIP$(TNR)TARGETN) :
@+-$(GNUCOPY) -p $@ $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) >& $(NULLDEV)
+-zip $(ZIP$(TNR)FLAGS) $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $(foreach,j,$(ZIP$(TNR)LIST) $(subst,LANGDIR,$(longlang_{$(subst,$(ZIP$(TNR)HELPVAR), $(@:db))}) $j )) -x delzip $(avoid_cvs_dir)
.ENDIF # "$(ZIP$(TNR)DIR)" != ""
- @+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
+ @+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.$(INPATH) >& $(NULLDEV)
@+-$(RM) $@ >& $(NULLDEV)
.IF "$(GUI)"=="UNX"
- @+if ( -r $@.new ) $(RENAME) $@.new $@
+ @+if ( -r $@.$(INPATH) ) $(RENAME) $@.$(INPATH) $@
# @+if ( -r $@ ) $(TOUCH) $@
.ELSE # "$(GUI)"=="UNX"
- @+if exist $@.new $(RENAME) $@.new $@
+ @+if exist $@.$(INPATH) $(RENAME) $@.$(INPATH) $@
# @+if exist $@ $(TOUCH) $@
.ENDIF # "$(GUI)"=="UNX"
.ELSE # "$(common_build_zip)"!=""