Kaydet (Commit) 77b9a043 authored tarafından Herbert Dürr's avatar Herbert Dürr

#i119168# use mechanism in extension_pre.mk for more extension licenses

üst fe95c9aa
...@@ -24,5 +24,5 @@ dos: echo ===================================================================== ...@@ -24,5 +24,5 @@ dos: echo =====================================================================
..\%__SRC%\misc\SUM_NOTICE %_DEST%\bin%_EXT%\osl\NOTICE.txt ..\%__SRC%\misc\SUM_NOTICE %_DEST%\bin%_EXT%\osl\NOTICE.txt
..\%__SRC%\misc\SUM_LICENSE %_DEST%\bin%_EXT%\osl\LICENSE.txt ..\%__SRC%\misc\SUM_LICENSE %_DEST%\bin%_EXT%\osl\LICENSE.txt
# alse delivering a pure ALv2 license file # also delivering a pure ALv2 license file
..\..\LICENSE_ALv2 %_DEST%\bin%_EXT%\osl ..\..\LICENSE_ALv2 %_DEST%\bin%_EXT%\osl
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<registration> <registration>
<simple-license accept-by="admin" default-license-id="lic-en-US" suppress-if-required="true" > <simple-license accept-by="admin" default-license-id="lic-en-US" suppress-if-required="true" >
<license-text xlink:href="license/LICENSE" lang="isocode" license-id="lic-isocode"/> <license-text xlink:href="licensefile" lang="isocode" license-id="lic-isocode"/>
</simple-license> </simple-license>
</registration> </registration>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<registration> <registration>
<simple-license accept-by="admin" default-license-id="lic-en-US" suppress-if-required="true" > <simple-license accept-by="admin" default-license-id="lic-en-US" suppress-if-required="true" >
<license-text xlink:href="license/LICENSE" lang="isocode" license-id="lic-isocode"/> <license-text xlink:href="licensefile" lang="isocode" license-id="lic-isocode"/>
</simple-license> </simple-license>
</registration> </registration>
......
...@@ -155,8 +155,7 @@ $(DESCRIPTION) $(PHONYDESC) : $(DESCRIPTION_SRC) ...@@ -155,8 +155,7 @@ $(DESCRIPTION) $(PHONYDESC) : $(DESCRIPTION_SRC)
.ENDIF # "$(DESCRIPTION)"!="" .ENDIF # "$(DESCRIPTION)"!=""
# default license text for Apache OpenOffice extensions is the Apache Licence 2 # default license text for Apache OpenOffice extensions is ALv2
# may not fit...
.IF "$(CUSTOM_LICENSE)"=="" .IF "$(CUSTOM_LICENSE)"==""
PACKLICDEPS=$(SOLARBINDIR)/osl/LICENSE_ALv2 PACKLICDEPS=$(SOLARBINDIR)/osl/LICENSE_ALv2
.ELSE # "$(CUSTOM_LICENSE)" == "" .ELSE # "$(CUSTOM_LICENSE)" == ""
......
...@@ -34,13 +34,8 @@ DESCRIPTION_SRC*:=description.xml ...@@ -34,13 +34,8 @@ DESCRIPTION_SRC*:=description.xml
COMPONENT_MANIFEST*:=$(EXTENSIONDIR)/META-INF/manifest.xml COMPONENT_MANIFEST*:=$(EXTENSIONDIR)/META-INF/manifest.xml
MANIFEST_SRC*:=manifest.xml MANIFEST_SRC*:=manifest.xml
.IF "$(GUI)" == "WIN" || "$(GUI)" == "WNT" PACKLICS*:=$(EXTENSIONDIR)/registration/LICENSE
PACKLICS*:=$(foreach,i,$(alllangiso) $(EXTENSIONDIR)/registration/license_$i.txt) COMPONENT_LIC_TEMPL*:=registration/LICENSE
COMPONENT_LIC_TEMPL*:=registration/license_xxx.txt
.ELSE
PACKLICS*:=$(foreach,i,$(alllangiso) $(EXTENSIONDIR)/registration/LICENSE_$i)
COMPONENT_LIC_TEMPL*:=registration/LICENSE_xxx
.ENDIF
#TODO: check ZIP9TARGET for previous use! #TODO: check ZIP9TARGET for previous use!
common_build_zip= common_build_zip=
......
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