[Libreoffice-commits] .: solenv/inc

Petr Mladek pmladek at kemper.freedesktop.org
Thu Mar 31 09:16:51 PDT 2011


 solenv/inc/tg_ext.mk |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit c868bf3768959b50df16f0611a606f0cb3f07037
Author: Petr Mladek <pmladek at suse.cz>
Date:   Thu Mar 31 18:15:44 2011 +0200

    add rule how to unpack .oxt files
    
    useful to update a 3rd party one

diff --git a/solenv/inc/tg_ext.mk b/solenv/inc/tg_ext.mk
index cd66717..baa020c 100644
--- a/solenv/inc/tg_ext.mk
+++ b/solenv/inc/tg_ext.mk
@@ -147,6 +147,12 @@ $(MISC)/%.unpack : $(TARFILE_LOCATION2)/%.zip
     @$(TYPE) $(mktmp $(UNPACKCMD)) > $@.$(INPATH)
     @$(RENAME) $@.$(INPATH) $@
 
+$(MISC)/%.unpack : $(TARFILE_LOCATION2)/%.oxt
+    @-$(RM) $@
+    @noop $(assign UNPACKCMD := unzip $(unzip_quiet_switch)  -o $(TARFILE_LOCATION)/$(TARFILE_MD5)-$(TARFILE_NAME).oxt)
+    @$(TYPE) $(mktmp $(UNPACKCMD)) > $@.$(INPATH)
+    @$(RENAME) $@.$(INPATH) $@
+
 $(MISC)/%.unpack : $(TARFILE_LOCATION2)/%.jar
     @-$(RM) $@
 .IF "$(OS)"=="SOLARIS"


More information about the Libreoffice-commits mailing list