Kaydet (Commit) d1ea3841 authored tarafından Petr Mladek's avatar Petr Mladek

add rule how to unpack .oxt files

useful to update a 3rd party one
üst b78b486c
...@@ -147,6 +147,12 @@ $(MISC)/%.unpack : $(TARFILE_LOCATION2)/%.zip ...@@ -147,6 +147,12 @@ $(MISC)/%.unpack : $(TARFILE_LOCATION2)/%.zip
@$(TYPE) $(mktmp $(UNPACKCMD)) > $@.$(INPATH) @$(TYPE) $(mktmp $(UNPACKCMD)) > $@.$(INPATH)
@$(RENAME) $@.$(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 $(MISC)/%.unpack : $(TARFILE_LOCATION2)/%.jar
@-$(RM) $@ @-$(RM) $@
.IF "$(OS)"=="SOLARIS" .IF "$(OS)"=="SOLARIS"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment