Tag: cws_src680_rpt23fix01
User: oj      
Date: 2007-07-19 09:26:24+0000
Modified:
   dba/reportdesign/util/makefile.mk

Log:
 #i79598# create description file

File Changes:

Directory: /dba/reportdesign/util/
==================================

File [changed]: makefile.mk
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/util/makefile.mk?r1=1.2.2.5&r2=1.2.2.6
Delta lines:  +23 -5
--------------------
--- makefile.mk 2007-07-19 06:30:04+0000        1.2.2.5
+++ makefile.mk 2007-07-19 09:26:21+0000        1.2.2.6
@@ -4,9 +4,9 @@
 #
 #   $RCSfile: makefile.mk,v $
 #
-#   $Revision: 1.2.2.5 $
+#   $Revision: 1.2.2.6 $
 #
-#   last change: $Author: oj $ $Date: 2007/07/19 06:30:04 $
+#   last change: $Author: oj $ $Date: 2007/07/19 09:26:21 $
 #
 #   The Contents of this file are made available subject to
 #   the terms of GNU Lesser General Public License Version 2.1.
@@ -202,7 +202,7 @@
 
 # create Extension -----------------------------
 
-.IF "$(SOLAR_JAVA)"!=""
+.IF "$(SOLAR_JAVA)"!="
 
 ZIP1TARGET=sun-report-builder
 ZIP1FLAGS=-r
@@ -234,9 +234,27 @@
 # --- Targets ----------------------------------
 .INCLUDE : target.mk
 
-.IF "$(ZIP1TARGETN)"!=""
+.IF "$(ZIP1TARGETN)"!="
 $(ZIP1TARGETN) :  $(TXTFILES) $(XMLFILES) $(HTMLFILES) $(REPRORTJARFILES)
-.ENDIF          # "$(ZIP1TARGETN)"!=""
+.ENDIF          # "$(ZIP1TARGETN)"!="
+
+$(ZIP1DIR)$/description.xml : description.xml
+       @@-$(MKDIRHIER) $(@:d)
+       @@-$(RM) $(ZIP1DIR)$/description.xml
+       echo `<`?xml version="1.0" encoding="utf-8"?`>`` > 
$(ZIP1DIR)$/description.xml
+       echo `<`description 
xmlns="http://openoffice.org/extensions/description/2006"; 
xmlns:d="http://openoffice.org/extensions/description/2006"; >> 
$(ZIP1DIR)$/description.xml
+       echo            xmlns:xlink="http://www.w3.org/1999/xlink"`>` >> 
$(ZIP1DIR)$/description.xml
+       echo            `<`registration`>` >> $(ZIP1DIR)$/description.xml
+       echo                    `<`simple-license accept-by="admin" 
default-license-id="en-US"`>` >> $(ZIP1DIR)$/description.xml
+       $(foreach,i,$(TXTFILES) $(shell echo                            
`<`license-text xlink:href="registration/$(i:f)" lang="$(subst,.txt, 
$(subst,license_, $(i:f)))" /`>` >> $(ZIP1DIR)$/description.xml) )
+       echo                    `<`/simple-license`>` >> 
$(ZIP1DIR)$/description.xml
+       echo            `<`/registration`>` >> $(ZIP1DIR)$/description.xml
+       echo            `<`version value="1.0.0" /`>` >> 
$(ZIP1DIR)$/description.xml
+       echo            `<`identifier value="com.sun.reportdesigner" /`>` >> 
$(ZIP1DIR)$/description.xml
+       echo            `<`dependencies`>` >> $(ZIP1DIR)$/description.xml
+       echo                    `<`OpenOffice.org-minimal-version value="2.3" 
d:name="OpenOffice.org 2.3" /`>` >> $(ZIP1DIR)$/description.xml
+       echo            `<`/dependencies`>` >> $(ZIP1DIR)$/description.xml
+       echo `<`/description`>` >> $(ZIP1DIR)$/description.xml
 
 $(ZIP1DIR)$/%.xml : %.xml
        @@-$(MKDIRHIER) $(@:d)




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to