migrate readlicense_oo to gbuild
Change-Id: I8698d2da889d74a9f806c01f520ac0cbcca67b03
This commit is contained in:
parent
3b3c20212e
commit
b21b504022
17 changed files with 201 additions and 202 deletions
|
@ -116,6 +116,7 @@ padmin\
|
||||||
psprint_config\
|
psprint_config\
|
||||||
pyuno\
|
pyuno\
|
||||||
qadevOOo\
|
qadevOOo\
|
||||||
|
readlicense_oo\
|
||||||
regexp\
|
regexp\
|
||||||
registry\
|
registry\
|
||||||
remotebridges\
|
remotebridges\
|
||||||
|
@ -238,7 +239,6 @@ pango\
|
||||||
postgresql\
|
postgresql\
|
||||||
postprocess\
|
postprocess\
|
||||||
python\
|
python\
|
||||||
readlicense_oo\
|
|
||||||
redland\
|
redland\
|
||||||
rhino\
|
rhino\
|
||||||
saxon\
|
saxon\
|
||||||
|
|
|
@ -46,7 +46,8 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\
|
||||||
$(if $(filter DESKTOP,$(BUILD_TYPE)),\
|
$(if $(filter DESKTOP,$(BUILD_TYPE)),\
|
||||||
codemaker \
|
codemaker \
|
||||||
) \
|
) \
|
||||||
comphelper \
|
clucene \
|
||||||
|
comphelper \
|
||||||
configmgr \
|
configmgr \
|
||||||
connectivity \
|
connectivity \
|
||||||
cosv \
|
cosv \
|
||||||
|
@ -100,6 +101,7 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\
|
||||||
lingucomponent \
|
lingucomponent \
|
||||||
linguistic \
|
linguistic \
|
||||||
lotuswordpro \
|
lotuswordpro \
|
||||||
|
l10ntools \
|
||||||
MathMLDTD \
|
MathMLDTD \
|
||||||
mdds \
|
mdds \
|
||||||
Mesa \
|
Mesa \
|
||||||
|
@ -127,9 +129,10 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\
|
||||||
$(if $(filter DESKTOP,$(BUILD_TYPE)),\
|
$(if $(filter DESKTOP,$(BUILD_TYPE)),\
|
||||||
rdbmaker \
|
rdbmaker \
|
||||||
) \
|
) \
|
||||||
regexp \
|
readlicense_oo \
|
||||||
registry \
|
regexp \
|
||||||
remotebridges \
|
registry \
|
||||||
|
remotebridges \
|
||||||
reportbuilder \
|
reportbuilder \
|
||||||
reportdesign \
|
reportdesign \
|
||||||
ridljar \
|
ridljar \
|
||||||
|
|
|
@ -28,6 +28,7 @@ else # SOLAR_JAVA
|
||||||
filter_MERGE_TARGET := $(OUTDIR_FOR_BUILD)/bin/FCFGMerge.jar
|
filter_MERGE_TARGET := $(OUTDIR_FOR_BUILD)/bin/FCFGMerge.jar
|
||||||
filter_MERGE := $(JAVAINTERPRETER) $(JAVAIFLAGS) -jar $(filter_MERGE_TARGET)
|
filter_MERGE := $(JAVAINTERPRETER) $(JAVAIFLAGS) -jar $(filter_MERGE_TARGET)
|
||||||
endif
|
endif
|
||||||
|
filter_MERGE_CONFIG_TARGET := $(OUTDIR_FOR_BUILD)/inc/l10ntools/FCFGMerge.cfg
|
||||||
|
|
||||||
### filter configuration rules: generic stuff #######################
|
### filter configuration rules: generic stuff #######################
|
||||||
|
|
||||||
|
@ -37,7 +38,7 @@ filter_XcuFilterTypesTarget_get_target = $(WORKDIR)/XcuFilterTypesTarget/$(1)
|
||||||
filter_XcuFilterTypesTarget_get_clean_target = \
|
filter_XcuFilterTypesTarget_get_clean_target = \
|
||||||
$(WORKDIR)/Clean/XcuFilterTypesTarget/$(1)
|
$(WORKDIR)/Clean/XcuFilterTypesTarget/$(1)
|
||||||
|
|
||||||
$(call filter_XcuFilterTypesTarget_get_target,%) : $(filter_MERGE_TARGET)
|
$(call filter_XcuFilterTypesTarget_get_target,%) : $(filter_MERGE_TARGET) $(filter_MERGE_CONFIG_TARGET)
|
||||||
$(call gb_Output_announce,$*,$(true),XCU,1)
|
$(call gb_Output_announce,$*,$(true),XCU,1)
|
||||||
$(call gb_Helper_abbreviate_dirs,\
|
$(call gb_Helper_abbreviate_dirs,\
|
||||||
mkdir -p $(dir $@) && \
|
mkdir -p $(dir $@) && \
|
||||||
|
@ -84,7 +85,7 @@ filter_XcuFilterFiltersTarget_get_target = \
|
||||||
filter_XcuFilterFiltersTarget_get_clean_target = \
|
filter_XcuFilterFiltersTarget_get_clean_target = \
|
||||||
$(WORKDIR)/Clean/XcuFilterFiltersTarget/$(1)
|
$(WORKDIR)/Clean/XcuFilterFiltersTarget/$(1)
|
||||||
|
|
||||||
$(call filter_XcuFilterFiltersTarget_get_target,%) : $(filter_MERGE_TARGET)
|
$(call filter_XcuFilterFiltersTarget_get_target,%) : $(filter_MERGE_TARGET) $(filter_MERGE_CONFIG_TARGET)
|
||||||
$(call gb_Output_announce,$*,$(true),XCU,1)
|
$(call gb_Output_announce,$*,$(true),XCU,1)
|
||||||
$(call gb_Helper_abbreviate_dirs,\
|
$(call gb_Helper_abbreviate_dirs,\
|
||||||
mkdir -p $(dir $@) && \
|
mkdir -p $(dir $@) && \
|
||||||
|
@ -117,7 +118,7 @@ filter_XcuFilterOthersTarget_get_target = $(WORKDIR)/XcuFilterOthersTarget/$(1)
|
||||||
filter_XcuFilterOthersTarget_get_clean_target = \
|
filter_XcuFilterOthersTarget_get_clean_target = \
|
||||||
$(WORKDIR)/Clean/XcuFilterOthersTarget/$(1)
|
$(WORKDIR)/Clean/XcuFilterOthersTarget/$(1)
|
||||||
|
|
||||||
$(call filter_XcuFilterOthersTarget_get_target,%) : $(filter_MERGE_TARGET)
|
$(call filter_XcuFilterOthersTarget_get_target,%) : $(filter_MERGE_TARGET) $(filter_MERGE_CONFIG_TARGET)
|
||||||
$(call gb_Output_announce,$*,$(true),XCU,1)
|
$(call gb_Output_announce,$*,$(true),XCU,1)
|
||||||
$(call gb_Helper_abbreviate_dirs,\
|
$(call gb_Helper_abbreviate_dirs,\
|
||||||
mkdir -p $(dir $@) && \
|
mkdir -p $(dir $@) && \
|
||||||
|
@ -155,7 +156,7 @@ filter_XcuFilterInternalTarget_get_target = \
|
||||||
filter_XcuFilterInternalTarget_get_clean_target = \
|
filter_XcuFilterInternalTarget_get_clean_target = \
|
||||||
$(WORKDIR)/Clean/XcuFilterInternalTarget/$(1)
|
$(WORKDIR)/Clean/XcuFilterInternalTarget/$(1)
|
||||||
|
|
||||||
$(call filter_XcuFilterInternalTarget_get_target,%) : $(filter_MERGE_TARGET)
|
$(call filter_XcuFilterInternalTarget_get_target,%) : $(filter_MERGE_TARGET) $(filter_MERGE_CONFIG_TARGET)
|
||||||
$(call gb_Output_announce,$*,$(true),XCU,1)
|
$(call gb_Output_announce,$*,$(true),XCU,1)
|
||||||
$(call gb_Helper_abbreviate_dirs,\
|
$(call gb_Helper_abbreviate_dirs,\
|
||||||
mkdir -p $(dir $@) && \
|
mkdir -p $(dir $@) && \
|
||||||
|
@ -201,7 +202,7 @@ filter_XCU_filter := org/openoffice/TypeDetection/Filter.xcu
|
||||||
filter_XcuResTarget_get_target = \
|
filter_XcuResTarget_get_target = \
|
||||||
$(call gb_XcuResTarget_get_target,fcfg_langpack/$(1)/$(filter_XCU_filter))
|
$(call gb_XcuResTarget_get_target,fcfg_langpack/$(1)/$(filter_XCU_filter))
|
||||||
|
|
||||||
$(filter_XcuFilterUiTarget) : $(filter_MERGE_TARGET)
|
$(filter_XcuFilterUiTarget) : $(filter_MERGE_TARGET) $(filter_MERGE_CONFIG_TARGET)
|
||||||
$(call gb_Output_announce,$(filter_XcuFilterUiTarget),$(true),XCU,1)
|
$(call gb_Output_announce,$(filter_XcuFilterUiTarget),$(true),XCU,1)
|
||||||
$(call gb_Helper_abbreviate_dirs,\
|
$(call gb_Helper_abbreviate_dirs,\
|
||||||
mkdir -p $(dir $@) && \
|
mkdir -p $(dir $@) && \
|
||||||
|
|
24
readlicense_oo/CustomTarget_license.mk
Normal file
24
readlicense_oo/CustomTarget_license.mk
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# This file is part of the LibreOffice project.
|
||||||
|
#
|
||||||
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
#
|
||||||
|
|
||||||
|
$(eval $(call gb_CustomTarget_CustomTarget,readlicense_oo/license))
|
||||||
|
|
||||||
|
readlicense_oo_DIR := $(call gb_CustomTarget_get_workdir,readlicense_oo/license)
|
||||||
|
|
||||||
|
$(call gb_CustomTarget_get_target,readlicense_oo/license) : $(readlicense_oo_DIR)/license.txt
|
||||||
|
|
||||||
|
$(readlicense_oo_DIR)/license.txt : \
|
||||||
|
$(SRCDIR)/readlicense_oo/txt/license.txt \
|
||||||
|
| $(readlicense_oo_DIR)/.dir
|
||||||
|
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),AWK,1)
|
||||||
|
$(call gb_Helper_abbreviate_dirs, \
|
||||||
|
$(gb_AWK) 'sub("$$","\r")' $< > $@.tmp && mv $@.tmp $@ \
|
||||||
|
)
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 tabstop=4 noexpandtab:
|
75
readlicense_oo/CustomTarget_readme.mk
Normal file
75
readlicense_oo/CustomTarget_readme.mk
Normal file
|
@ -0,0 +1,75 @@
|
||||||
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# This file is part of the LibreOffice project.
|
||||||
|
#
|
||||||
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
#
|
||||||
|
|
||||||
|
$(eval $(call gb_CustomTarget_CustomTarget,readlicense_oo/readme))
|
||||||
|
|
||||||
|
readlicense_oo_DIR := $(call gb_CustomTarget_get_workdir,readlicense_oo/readme)
|
||||||
|
|
||||||
|
# gb_WITH_LANG is empty if --with-lang is not set
|
||||||
|
# what we need here is: gb_WITH_LANG_OR_DEFAULT ;-)
|
||||||
|
readlicense_oo_LANGS := en-US $(filter-out en-US,$(gb_WITH_LANG))
|
||||||
|
|
||||||
|
ifeq ($(GUI),UNX)
|
||||||
|
readlicense_oo_READMEs := $(foreach lang,$(readlicense_oo_LANGS),$(readlicense_oo_DIR)/README_$(lang))
|
||||||
|
readlicense_oo_README_PATTERN := $(readlicense_oo_DIR)/README_%
|
||||||
|
else
|
||||||
|
readlicense_oo_READMEs := $(foreach lang,$(readlicense_oo_LANGS),$(readlicense_oo_DIR)/readme_$(lang).txt)
|
||||||
|
readlicense_oo_README_PATTERN := $(readlicense_oo_DIR)/readme_%.txt
|
||||||
|
endif
|
||||||
|
|
||||||
|
readlicense_XRMEXTARGET := $(call gb_Executable_get_target_for_build,xrmex)
|
||||||
|
readlicense_XRMEXCOMMAND := $(gb_Helper_set_ld_path) $(readlicense_XRMEXTARGET)
|
||||||
|
|
||||||
|
$(call gb_CustomTarget_get_target,readlicense_oo/readme) : $(readlicense_oo_READMEs)
|
||||||
|
|
||||||
|
ifeq ($(strip $(gb_WITH_LANG)),)
|
||||||
|
readlicense_oo_README_XRM := $(SRCDIR)/readlicense_oo/docs/readme/readme.xrm
|
||||||
|
else
|
||||||
|
readlicense_oo_README_XRM := $(readlicense_oo_DIR)/readme.xrm
|
||||||
|
|
||||||
|
$(readlicense_oo_DIR)/readme.xrm : \
|
||||||
|
$(SRCDIR)/readlicense_oo/docs/readme/readme.xrm \
|
||||||
|
$(readlicense_XRMEXTARGET) \
|
||||||
|
$(gb_SDFLOCATION)/readlicense_oo/docs/readme/localize.sdf \
|
||||||
|
| $(readlicense_oo_DIR)/.dir
|
||||||
|
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),XRM,1)
|
||||||
|
$(call gb_Helper_abbreviate_dirs, \
|
||||||
|
$(readlicense_XRMEXCOMMAND) \
|
||||||
|
-p readlicense_oo \
|
||||||
|
-i $< \
|
||||||
|
-o $@ \
|
||||||
|
-m $(gb_SDFLOCATION)/readlicense_oo/docs/readme/localize.sdf \
|
||||||
|
-l all)
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(readlicense_oo_README_PATTERN) : \
|
||||||
|
$(SRCDIR)/readlicense_oo/docs/readme.xsl \
|
||||||
|
$(readlicense_oo_README_XRM) \
|
||||||
|
| $(readlicense_oo_DIR)/.dir
|
||||||
|
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),XSL,1)
|
||||||
|
$(call gb_Helper_abbreviate_dirs, \
|
||||||
|
$(gb_XSLTPROC) --nonet --novalid -o $@.out \
|
||||||
|
--stringparam com1 $(COM) \
|
||||||
|
--stringparam cp1 $(CPUNAME) \
|
||||||
|
--stringparam gui1 $(GUI) \
|
||||||
|
--stringparam lang1 $(word 2,$(subst _, ,$(basename $(notdir $@)))) \
|
||||||
|
--stringparam os1 $(OS) \
|
||||||
|
--stringparam type text \
|
||||||
|
$< \
|
||||||
|
$(readlicense_oo_README_XRM) && \
|
||||||
|
$(if $(filter WNT,$(GUI)) \
|
||||||
|
,$(gb_AWK) 'sub("$$","\r")' $@.out > $@.tmp && \
|
||||||
|
mv $@.tmp $@ && \
|
||||||
|
rm $@.out \
|
||||||
|
,mv $@.out $@ \
|
||||||
|
) \
|
||||||
|
)
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 tabstop=4 noexpandtab:
|
7
readlicense_oo/Makefile
Normal file
7
readlicense_oo/Makefile
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
|
||||||
|
module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||||
|
|
||||||
|
include $(module_directory)/../solenv/gbuild/partial_build.mk
|
||||||
|
|
||||||
|
# vim: set noet sw=4 ts=4:
|
21
readlicense_oo/Module_readlicense_oo.mk
Normal file
21
readlicense_oo/Module_readlicense_oo.mk
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# This file is part of the LibreOffice project.
|
||||||
|
#
|
||||||
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
#
|
||||||
|
|
||||||
|
$(eval $(call gb_Module_Module,readlicense_oo))
|
||||||
|
|
||||||
|
$(eval $(call gb_Module_add_targets,readlicense_oo,\
|
||||||
|
CustomTarget_license \
|
||||||
|
CustomTarget_readme \
|
||||||
|
Package_files \
|
||||||
|
Package_license \
|
||||||
|
Package_readme \
|
||||||
|
))
|
||||||
|
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
25
readlicense_oo/Package_files.mk
Normal file
25
readlicense_oo/Package_files.mk
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# This file is part of the LibreOffice project.
|
||||||
|
#
|
||||||
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
#
|
||||||
|
|
||||||
|
$(eval $(call gb_Package_Package,readlicense_oo_files,$(SRCDIR)/readlicense_oo))
|
||||||
|
|
||||||
|
# LICENSE (upper case) is copied without EOL conversion from license.txt
|
||||||
|
# license.txt is converted, prior to copy, see Package_license.mk
|
||||||
|
$(eval $(call gb_Package_add_file,readlicense_oo_files,bin/osl/LICENSE,txt/license.txt))
|
||||||
|
$(eval $(call gb_Package_add_file,readlicense_oo_files,bin/ure/LICENSE,txt/license.txt))
|
||||||
|
|
||||||
|
$(eval $(call gb_Package_add_file,readlicense_oo_files,bin/NOTICE,txt/NOTICE))
|
||||||
|
|
||||||
|
$(eval $(call gb_Package_add_file,readlicense_oo_files,bin/osl/LICENSE.odt,odt/LICENSE.odt))
|
||||||
|
$(eval $(call gb_Package_add_file,readlicense_oo_files,bin/LICENSE.odt,odt/LICENSE.odt))
|
||||||
|
$(eval $(call gb_Package_add_file,readlicense_oo_files,bin/CREDITS.odt,odt/CREDITS.odt))
|
||||||
|
|
||||||
|
$(eval $(call gb_Package_add_file,readlicense_oo_files,bin/THIRDPARTYLICENSEREADME.html,html/THIRDPARTYLICENSEREADME.html))
|
||||||
|
|
||||||
|
# vim: set noet sw=4 ts=4:
|
15
readlicense_oo/Package_license.mk
Normal file
15
readlicense_oo/Package_license.mk
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# This file is part of the LibreOffice project.
|
||||||
|
#
|
||||||
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
#
|
||||||
|
|
||||||
|
$(eval $(call gb_Package_Package,readlicense_oo_license,$(call gb_CustomTarget_get_workdir,readlicense_oo/license)))
|
||||||
|
|
||||||
|
$(eval $(call gb_Package_add_file,readlicense_oo_license,bin/osl/license.txt,license.txt))
|
||||||
|
$(eval $(call gb_Package_add_file,readlicense_oo_license,bin/ure/license.txt,license.txt))
|
||||||
|
|
||||||
|
# vim: set noet sw=4 ts=4:
|
18
readlicense_oo/Package_readme.mk
Normal file
18
readlicense_oo/Package_readme.mk
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# This file is part of the LibreOffice project.
|
||||||
|
#
|
||||||
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
#
|
||||||
|
|
||||||
|
$(eval $(call gb_Package_Package,readlicense_oo_readme_inc,$(call gb_CustomTarget_get_workdir,readlicense_oo/readme)))
|
||||||
|
|
||||||
|
$(eval $(call gb_Package_add_files,readlicense_oo_readme_inc,bin/osl,\
|
||||||
|
$(foreach lang,en-US $(filter-out en-US,$(gb_WITH_LANG)),\
|
||||||
|
$(if $(filter UNX,$(GUI)),README_$(lang),readme_$(lang).txt) \
|
||||||
|
) \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim: set noet sw=4 ts=4:
|
|
@ -1,43 +0,0 @@
|
||||||
#*************************************************************************
|
|
||||||
#
|
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
||||||
#
|
|
||||||
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
||||||
#
|
|
||||||
# OpenOffice.org - a multi-platform office productivity suite
|
|
||||||
#
|
|
||||||
# This file is part of OpenOffice.org.
|
|
||||||
#
|
|
||||||
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Lesser General Public License version 3
|
|
||||||
# only, as published by the Free Software Foundation.
|
|
||||||
#
|
|
||||||
# OpenOffice.org 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 version 3 for more details
|
|
||||||
# (a copy is included in the LICENSE file that accompanied this code).
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Lesser General Public License
|
|
||||||
# version 3 along with OpenOffice.org. If not, see
|
|
||||||
# <http://www.openoffice.org/license.html>
|
|
||||||
# for a copy of the LGPLv3 License.
|
|
||||||
#
|
|
||||||
#*************************************************************************
|
|
||||||
|
|
||||||
PRJ = ..$/..
|
|
||||||
PRJNAME = readlicense_oo
|
|
||||||
TARGET = ooo
|
|
||||||
|
|
||||||
# --- Settings -----------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
|
|
||||||
# --- Files --------------------------------------------------------
|
|
||||||
|
|
||||||
READMEFILES = \
|
|
||||||
$(MISC)$/readme.html \
|
|
||||||
$(MISC)$/readme.txt
|
|
||||||
|
|
||||||
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
|
||||||
|
|
|
@ -1,45 +0,0 @@
|
||||||
PRJ=.
|
|
||||||
PRJNAME=readlicense_oo
|
|
||||||
TARGET=source
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
|
||||||
.INCLUDE: settings.mk
|
|
||||||
# ------------------------------------------------------------------
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
|
||||||
.INCLUDE: target.mk
|
|
||||||
# ------------------------------------------------------------------
|
|
||||||
|
|
||||||
ALLTAR: $(MISC)/$/license.txt $(MISC)/$/LICENSE \
|
|
||||||
$(MISC)/$/NOTICE \
|
|
||||||
$(MISC)$/LICENSE.odt $(MISC)$/CREDITS.odt \
|
|
||||||
$(MISC)$/THIRDPARTYLICENSEREADME.html
|
|
||||||
|
|
||||||
.IF "$(fallbacklicenses)"!=""
|
|
||||||
$(fallbacklicenses) : $(SOURCELICENCES)
|
|
||||||
@$(ECHON) .
|
|
||||||
@$(COPY) $(@:d)$(@:b:s/_/./:b)_$(defaultlangiso)$(@:e) $@
|
|
||||||
.ENDIF # "$(fallbacklicenses)"!=""
|
|
||||||
|
|
||||||
just_for_nice_optics: $(fallbacklicenses)
|
|
||||||
@$(ECHONL)
|
|
||||||
|
|
||||||
# for windows, convert linends to DOS
|
|
||||||
$(MISC)$/license.txt : txt$/license.txt
|
|
||||||
$(PERL) -p -e 's/\r?\n$$/\r\n/' < $< > $@
|
|
||||||
# for others just copy
|
|
||||||
$(MISC)$/LICENSE : txt$/license.txt
|
|
||||||
$(COPY) $< $@
|
|
||||||
|
|
||||||
$(MISC)$/SYSLICDEST)$/LICENSE.odt : odt$/LICENSE.odt
|
|
||||||
$(COPY) $< $@
|
|
||||||
|
|
||||||
# just copy into misc
|
|
||||||
$(MISC)$/LICENSE.odt: odt/LICENSE.odt
|
|
||||||
$(COPY) odt/LICENSE.odt $@
|
|
||||||
$(MISC)$/CREDITS.odt: odt/CREDITS.odt
|
|
||||||
$(COPY) odt/CREDITS.odt $@
|
|
||||||
$(MISC)$/THIRDPARTYLICENSEREADME.html: html/THIRDPARTYLICENSEREADME.html
|
|
||||||
$(COPY) html/THIRDPARTYLICENSEREADME.html $@
|
|
||||||
$(MISC)$/NOTICE: txt/NOTICE
|
|
||||||
$(COPY) txt/NOTICE $@
|
|
|
@ -1,5 +1,4 @@
|
||||||
ro readlicense_oo : TRANSLATIONS:translations DESKTOP:l10ntools solenv LIBXSLT:libxslt NULL
|
ro readlicense_oo : TRANSLATIONS:translations DESKTOP:l10ntools solenv LIBXSLT:libxslt NULL
|
||||||
ro readlicense_oo usr1 - all ro_root NULL
|
ro readlicense_oo usr1 - all ro_root NULL
|
||||||
ro readlicense_oo\docs\readme nmake - all ro_readme NULL
|
ro readlicense_oo\prj nmake - all ro_prj NULL
|
||||||
ro readlicense_oo nmake - all ro_conv NULL
|
|
||||||
|
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
mkdir: %_DEST%\bin\osl
|
|
||||||
mkdir: %_DEST%\pck
|
|
||||||
|
|
||||||
dos: echo =====================================================================
|
|
||||||
dos: echo Delivering LICENSE files
|
|
||||||
dos: echo =====================================================================
|
|
||||||
..\%__SRC%\misc\LICENSE %_DEST%\bin\osl\LICENSE
|
|
||||||
..\%__SRC%\misc\license.txt %_DEST%\bin\osl\license.txt
|
|
||||||
..\%__SRC%\misc\LICENSE.odt %_DEST%\bin\osl\LICENSE.odt
|
|
||||||
|
|
||||||
..\%__SRC%\misc\LICENSE.odt %_DEST%\bin\LICENSE.odt
|
|
||||||
..\%__SRC%\misc\CREDITS.odt %_DEST%\bin\CREDITS.odt
|
|
||||||
..\%__SRC%\misc\NOTICE %_DEST%\bin\NOTICE
|
|
||||||
|
|
||||||
# URE:
|
|
||||||
mkdir: %_DEST%\bin\ure
|
|
||||||
..\%__SRC%\misc\LICENSE %_DEST%\bin\ure\LICENSE
|
|
||||||
..\%__SRC%\misc\license.txt %_DEST%\bin\ure\license.txt
|
|
||||||
|
|
||||||
..\%__SRC%\misc\THIRDPARTYLICENSEREADME.html %_DEST%\bin\THIRDPARTYLICENSEREADME.html
|
|
||||||
|
|
||||||
|
|
||||||
dos: echo =====================================================================
|
|
||||||
dos: echo Delivering README files
|
|
||||||
dos: echo =====================================================================
|
|
||||||
|
|
||||||
..\%__SRC%\misc\WNT\readme_*.txt %_DEST%\bin\osl
|
|
||||||
..\%__SRC%\misc\WNT\readme_*.html %_DEST%\bin\osl
|
|
||||||
..\%__SRC%\misc\UNX\README_* %_DEST%\bin\osl
|
|
||||||
..\%__SRC%\misc\UNX\README_*.html %_DEST%\bin\osl
|
|
||||||
|
|
|
@ -1,70 +0,0 @@
|
||||||
#*************************************************************************
|
|
||||||
#
|
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
||||||
#
|
|
||||||
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
||||||
#
|
|
||||||
# OpenOffice.org - a multi-platform office productivity suite
|
|
||||||
#
|
|
||||||
# This file is part of OpenOffice.org.
|
|
||||||
#
|
|
||||||
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Lesser General Public License version 3
|
|
||||||
# only, as published by the Free Software Foundation.
|
|
||||||
#
|
|
||||||
# OpenOffice.org 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 version 3 for more details
|
|
||||||
# (a copy is included in the LICENSE file that accompanied this code).
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Lesser General Public License
|
|
||||||
# version 3 along with OpenOffice.org. If not, see
|
|
||||||
# <http://www.openoffice.org/license.html>
|
|
||||||
# for a copy of the LGPLv3 License.
|
|
||||||
#
|
|
||||||
#*************************************************************************
|
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
|
||||||
|
|
||||||
.IF "$(GUI)"=="UNX"
|
|
||||||
# uppercase and no filename extension for txt
|
|
||||||
SYSTEXTDOCS=$(foreach,i,$(alllangiso) $(MISC)$/$(GUI)$/README_$i)
|
|
||||||
.ELSE # "$(GUI)"=="UNX"
|
|
||||||
SYSTEXTDOCS=$(foreach,i,$(alllangiso) $(MISC)$/$(GUI)$/readme_$i.txt)
|
|
||||||
.ENDIF # "$(GUI)"=="UNX"
|
|
||||||
|
|
||||||
.IF "$(WITH_LANG)"!=""
|
|
||||||
MERGEDXRM=$(COMMONMISC)$/$(TARGET)$/readme.xrm
|
|
||||||
.ELSE # "$(WITH_LANG)"!=""
|
|
||||||
MERGEDXRM=.$/readme.xrm
|
|
||||||
.ENDIF # "$(WITH_LANG)"!=""
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
||||||
ALLTAR : $(SYSTEXTDOCS)
|
|
||||||
|
|
||||||
$(COMMONMISC)$/readme.dtd : ..$/readme.dtd
|
|
||||||
$(MKDIRHIER) $(MISC)$/$(GUI)
|
|
||||||
$(COPY) $< $@
|
|
||||||
|
|
||||||
virtual : $(MERGEDXRM) $(COMMONMISC)$/readme.dtd $(PRJ)$/docs/readme.xsl
|
|
||||||
|
|
||||||
$(MISC)$/readme_text.xsl : virtual
|
|
||||||
$(SED) '' < ..$/readme.xsl > $@
|
|
||||||
|
|
||||||
$(SYSTEXTDOCS) : $(MISC)$/readme_text.xsl
|
|
||||||
@@-$(MKDIRHIER) $(@:d)
|
|
||||||
$(XSLTPROC) --nonet --novalid -o $@ \
|
|
||||||
--stringparam os1 $(OS) --stringparam gui1 $(GUI) --stringparam com1 $(COM) \
|
|
||||||
--stringparam cp1 $(CPUNAME) --stringparam type text --stringparam lang1 $(@:b:s/readme_//:s/README_//) \
|
|
||||||
$< $(MERGEDXRM)
|
|
||||||
|
|
||||||
.IF "$(GUI)"=="WNT"
|
|
||||||
$(PERL) -pi -e 's/\n/\r\n/' $@
|
|
||||||
.ENDIF # "$(GUI)"=="WNT"
|
|
||||||
|
|
||||||
.IF "$(GUI)"=="UNX"
|
|
||||||
chmod g+w $(MISC)$/$(GUI)
|
|
||||||
.ENDIF # "$(GUI)"=="UNX"
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
tb tail_build : AFMS:afms APACHE_COMMONS:apache-commons BSH:beanshell BERKELEYDB:berkeleydb BOOST:boost CAIRO:cairo CLUCENE:clucene CPPUNIT:cppunit CURL:curl EXPAT:expat FONTCONFIG:fontconfig FREETYPE:freetype GLIB:glib GRAPHITE:graphite HUNSPELL:hunspell HYPHEN:hyphen ICU:icu DESKTOP:l10ntools JFREEREPORT:jfreereport JPEG:jpeg LCMS2:lcms2 LIBEXTTEXTCAT:libexttextcat LIBLANGTAG:liblangtag LIBXML2:libxml2 libxmlsec LIBXSLT:libxslt LPSOLVE:lpsolve MOZ:moz MYTHES:mythes NSS:nss OPENLDAP:openldap OPENSSL:openssl POSTGRESQL:postgresql PYTHON:python REDLAND:redland SAXON:saxon TRANSLATIONS:translations XPDF:xpdf ZLIB:zlib external readlicense_oo RHINO:rhino sal solenv soltools xsltml NULL
|
tb tail_build : AFMS:afms APACHE_COMMONS:apache-commons BSH:beanshell BERKELEYDB:berkeleydb BOOST:boost CAIRO:cairo CPPUNIT:cppunit CURL:curl EXPAT:expat FONTCONFIG:fontconfig FREETYPE:freetype GLIB:glib GRAPHITE:graphite HUNSPELL:hunspell HYPHEN:hyphen ICU:icu JFREEREPORT:jfreereport JPEG:jpeg LCMS2:lcms2 LIBEXTTEXTCAT:libexttextcat LIBLANGTAG:liblangtag LIBXML2:libxml2 libxmlsec LIBXSLT:libxslt LPSOLVE:lpsolve MOZ:moz MYTHES:mythes NSS:nss OPENLDAP:openldap OPENSSL:openssl POSTGRESQL:postgresql PYTHON:python REDLAND:redland SAXON:saxon TRANSLATIONS:translations XPDF:xpdf ZLIB:zlib external RHINO:rhino sal solenv soltools xsltml NULL
|
||||||
tb tail_build\prj nmake - all tb_prj NULL
|
tb tail_build\prj nmake - all tb_prj NULL
|
||||||
|
|
Loading…
Reference in a new issue