diff options
author | Juergen Schmidt <jsc@openoffice.org> | 2002-05-27 12:59:09 +0000 |
---|---|---|
committer | Juergen Schmidt <jsc@openoffice.org> | 2002-05-27 12:59:09 +0000 |
commit | 7fc1ab64651d58a1d399697f4e777b1e8fbb334e (patch) | |
tree | 3aeb58ddc564849233610daa4f395d9ffb99efa0 /odk/pack/unzip_udk | |
parent | #99053# add basic regcomp example (diff) | |
download | core-7fc1ab64651d58a1d399697f4e777b1e8fbb334e.tar.gz core-7fc1ab64651d58a1d399697f4e777b1e8fbb334e.zip |
#99053# insert docu
Diffstat (limited to 'odk/pack/unzip_udk')
-rw-r--r-- | odk/pack/unzip_udk/makefile.mk | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/odk/pack/unzip_udk/makefile.mk b/odk/pack/unzip_udk/makefile.mk index fff21a4e1d25..af27854ffb80 100644 --- a/odk/pack/unzip_udk/makefile.mk +++ b/odk/pack/unzip_udk/makefile.mk @@ -9,29 +9,53 @@ TARGET=unzip_udk .IF "$(GUI)"=="WNT" UDKPATH=$(UDKZIPPATH)$/$(UDKNAME).zip +ODKDOCPATH=$(UDKZIPPATH)$/$(ODKDOCNAME).zip .ELSE UDKPATH=$(UDKZIPPATH)$/$(UDKNAME).tar.gz +ODKDOCPATH=$(UDKZIPPATH)$/$(ODKDOCNAME).tar.gz .ENDIF + all: ..$/misc$/deltree.txt ..$/misc$/deltree.txt .SETDIR=$(OUT)$/bin : $(UDKPATH) ..$/..$/pack$/unzip_udk$/deltree.txt # first clean everything +-$(RM) ..$/misc$/unzip_udk_succeeded.txt >& $(NULLDEV) +.IF "$(BUILD_SOSL)"=="" +-$(MY_DELETE_RECURSIVE) $(ODKNAME) >& $(NULLDEV) +.ELSE + +-$(MY_DELETE_RECURSIVE) $(PRODUCT_NAME) >& $(NULLDEV) +.ENDIF +-$(MY_DELETE_RECURSIVE) $(UDKNAME) >& $(NULLDEV) +-$(MY_DELETE_RECURSIVE) $(UDKNAME).zip >& $(NULLDEV) +-$(MY_DELETE_RECURSIVE) $(UDKNAME).tar.gz >& $(NULLDEV) +-$(MY_DELETE_RECURSIVE) $(UDKNAME).tar >& $(NULLDEV) + +-$(MY_DELETE_RECURSIVE) $(ODKDOCNAME).zip >& $(NULLDEV) + +-$(MY_DELETE_RECURSIVE) $(ODKDOCNAME).tar.gz >& $(NULLDEV) + +-$(MY_DELETE_RECURSIVE) $(ODKDOCNAME).tar >& $(NULLDEV) +-$(MY_DELETE_RECURSIVE) $(ODKNAME).zip >& $(NULLDEV) +-$(MY_DELETE_RECURSIVE) $(ODKNAME).tar.gz >& $(NULLDEV) +-$(MY_DELETE_RECURSIVE) $(ODKNAME).tar >& $(NULLDEV) $(GNUCOPY) -p $(UDKPATH) . + $(GNUCOPY) -p $(ODKDOCPATH) . .IF "$(GUI)"=="WNT" unzip -q -d . $(UDKNAME) + +-$(RENAME) $(UDKNAME) $(ODKNAME) + unzip -q -d . $(ODKDOCNAME).zip .ELSE gzip -df < $(UDKNAME).tar.gz | tar -xvf - + +-$(RENAME) $(UDKNAME) $(ODKNAME) + gzip -df < $(ODKDOCNAME).tar.gz | tar -xvf - +.ENDIF +.IF "$(BUILD_SOSL)"!="" +# for OpenOffice build rename to PRODUCT_NAME + +-$(RENAME) $(ODKNAME) $(PRODUCT_NAME) .ENDIF - +-$(RENAME) $(UDKNAME) $(ODKNAME) - +rm -f $(ODKNAME)$/settings$/dk.mk + +-$(MY_DELETE_RECURSIVE) $(UDKNAME).zip >& $(NULLDEV) + +-$(MY_DELETE_RECURSIVE) $(UDKNAME).tar.gz >& $(NULLDEV) + +-$(MY_DELETE_RECURSIVE) $(UDKNAME).tar >& $(NULLDEV) + +-$(MY_DELETE_RECURSIVE) $(ODKDOCNAME).zip >& $(NULLDEV) + +-$(MY_DELETE_RECURSIVE) $(ODKDOCNAME).tar.gz >& $(NULLDEV) + +-$(MY_DELETE_RECURSIVE) $(ODKDOCNAME).tar >& $(NULLDEV) + +$(MY_DELETE_RECURSIVE) $(ODKNAME)$/settings$/dk.mk touch ..$/misc$/deltree.txt |