diff options
author | Mikhail Voitenko <mav@openoffice.org> | 2008-02-28 10:36:32 +0000 |
---|---|---|
committer | Mikhail Voitenko <mav@openoffice.org> | 2008-02-28 10:36:32 +0000 |
commit | 48b3f36cd336f9cf9d2c48c37e2d43ff9128c696 (patch) | |
tree | 8c10ceda35c87d3006513bb86d747790a1a0e3ef /swext/mediawiki/src | |
parent | 398a73b8e4d5e484b17cc52f0606e63a8bbf2422 (diff) |
#i10000# introduce licenses
Diffstat (limited to 'swext/mediawiki/src')
-rw-r--r-- | swext/mediawiki/src/description.xml | 5 | ||||
-rw-r--r-- | swext/mediawiki/src/makefile.mk | 79 |
2 files changed, 84 insertions, 0 deletions
diff --git a/swext/mediawiki/src/description.xml b/swext/mediawiki/src/description.xml index 4cea9dc96e66..1980515342ca 100644 --- a/swext/mediawiki/src/description.xml +++ b/swext/mediawiki/src/description.xml @@ -5,6 +5,11 @@ <display-name> <name lang="en-US">MediaWiki Extension</name> </display-name> + <registration> + <simple-license accept-by="user" default-license-id="lic-en-US"> + <license-text xlink:href="licensefile" lang="isocode" license-id="lic-isocode"/> + </simple-license> + </registration> <dependencies> <OpenOffice.org-minimal-version value="2.4" d:name="OpenOffice.org 2.4 or StarOffice 8 Update 10"/> </dependencies> diff --git a/swext/mediawiki/src/makefile.mk b/swext/mediawiki/src/makefile.mk new file mode 100644 index 000000000000..7fae8d7d5661 --- /dev/null +++ b/swext/mediawiki/src/makefile.mk @@ -0,0 +1,79 @@ +#************************************************************************* +# +# OpenOffice.org - a multi-platform office productivity suite +# +# $RCSfile: makefile.mk,v $ +# +# $Revision: 1.1 $ +# +# last change: $Author: mav $ $Date: 2008-02-28 11:36:32 $ +# +# The Contents of this file are made available subject to +# the terms of GNU Lesser General Public License Version 2.1. +# +# +# GNU Lesser General Public License Version 2.1 +# ============================================= +# Copyright 2005 by Sun Microsystems, Inc. +# 901 San Antonio Road, Palo Alto, CA 94303, USA +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License version 2.1, as published by the Free Software Foundation. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# +#************************************************************************* + +PRJ=..$/.. +PRJNAME=swext +TARGET=mediawiki +GEN_HID=FALSE + +ENABLE_EXCEPTIONS=TRUE + +# --- Settings ---------------------------------- + +.INCLUDE : settings.mk + +DESCRIPTION:=$(MISC)$/$(TARGET)$/description.xml + +# .IF "$(GUI)" == "WIN" || "$(GUI)" == "WNT" +# PACKLICS:=$(foreach,i,$(alllangiso) $(MISC)$/$(TARGET)$/license$/license_$i) +# .ELSE +PACKLICS:=$(foreach,i,$(alllangiso) $(MISC)$/$(TARGET)$/license$/LICENSE_$i) +# .ENDIF + +common_build_zip= + +.INCLUDE : target.mk + +.IF "$(GUI)" == "WIN" || "$(GUI)" == "WNT" +$(PACKLICS) : $(SOLARBINDIR)$/osl$/license$$(@:b:s/_/./:e:s/./_/)$$(@:e).txt + @@-$(MKDIRHIER) $(@:d) + $(GNUCOPY) $< $@ +.ELSE +$(PACKLICS) : $(SOLARBINDIR)$/osl$/LICENSE$$(@:b:s/_/./:e:s/./_/)$$(@:e) + @@-$(MKDIRHIER) $(@:d) + $(GNUCOPY) $< $@ +.ENDIF + +ALLTAR: $(PACKLICS) $(DESCRIPTION) + +.INCLUDE .IGNORE : $(MISC)$/$(TARGET)_lang_track.mk +.IF "$(LAST_WITH_LANG)"!="$(WITH_LANG)" +PHONYDESC=.PHONY +.ENDIF # "$(LAST_WITH_LANG)"!="$(WITH_LANG)" +$(DESCRIPTION) $(PHONYDESC) : $$(@:f) + @@-$(MKDIRHIER) $(@:d) + $(PERL) $(SOLARENV)$/bin$/licinserter.pl description.xml license/LICENSE_xxx $@ + @echo LAST_WITH_LANG=$(WITH_LANG) > $(MISC)$/$(TARGET)_lang_track.mk + |