From 00d05b5f6752b276fc3f4c76e504be5a2e93db11 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Fri, 6 May 2005 08:37:41 +0000 Subject: [PATCH] INTEGRATION: CWS ause027 (1.14.44); FILE MERGED 2005/04/25 15:28:24 hjs 1.14.44.1: #i37172# seperate MANIFEST directories --- solenv/inc/tg_jar.mk | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/solenv/inc/tg_jar.mk b/solenv/inc/tg_jar.mk index ed660b3a2614..b298d3f51ea2 100644 --- a/solenv/inc/tg_jar.mk +++ b/solenv/inc/tg_jar.mk @@ -2,9 +2,9 @@ # # $RCSfile: tg_jar.mk,v $ # -# $Revision: 1.14 $ +# $Revision: 1.15 $ # -# last change: $Author: obo $ $Date: 2005-03-18 10:14:13 $ +# last change: $Author: obo $ $Date: 2005-05-06 09:37:41 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -109,7 +109,7 @@ $(MISC)$/$(TARGET)_$(EXTENDEDMANIFESTFILE:f) : $(EXTENDEDMANIFESTFILE) .ENDIF # "$(EXTENDEDMANIFESTFILE)"!="" $(JARMANIFEST) .PHONY : $(CUSTOMMANIFESTFILEDEP) $(EXTENDEDMANIFESTFILEDEP) - +-$(MKDIR) $(@:d) >& $(NULLDEV) + +-$(MKDIRHIER) $(@:d) >& $(NULLDEV) +-$(RM) $@ >& $(NULLDEV) +echo Manifest-Version: 1.0 > $@ # $(RSCREVISION) contains chars that must be quoted (for *NIX shells) @@ -137,6 +137,9 @@ $(JARTARGETN) : .IF "$(OS)$(CPU)"=="SOLARISS" @+-find . -type d -user $(USER) ! -perm -5 -print | xargs test "$$1" != "" && chmod +r $$1 .ENDIF - +cd $(CLASSDIR) && zip -u -rX $(@:f) $(subst,$(CLASSDIR)$/, $(JARMANIFEST)) $(subst,\,/ $(JARCLASSDIRS)) $(CHECKZIPRESULT) +.IF "$(JARMANIFEST)"!="" + +cd $(CLASSDIR)$/$(TARGET) && zip -u -rX ..$/$(@:f) $(subst,$(CLASSDIR)$/$(TARGET)$/, $(JARMANIFEST)) $(CHECKZIPRESULT) +.ENDIF # "$(JARMANIFEST)"!="" + +cd $(CLASSDIR) && zip -u -rX $(@:f) $(subst,\,/ $(JARCLASSDIRS)) $(CHECKZIPRESULT) .ENDIF