# -*- 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/. # instsetoo_ULFLIST := ActionTe \ Control \ CustomAc \ Error \ LaunchCo \ Property \ RadioBut \ UIText $(eval $(call gb_CustomTarget_CustomTarget,instsetoo_native/install)) $(eval $(call gb_CustomTarget_register_targets,instsetoo_native/install,\ install.phony \ $(if $(filter-out WNT,$(OS)),\ bin/find-requires-gnome.sh \ bin/find-requires-x11.sh) \ $(foreach ulf,$(instsetoo_ULFLIST),win_ulffiles/$(ulf).ulf) \ )) $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/install.phony: \ $(SRCDIR)/solenv/bin/make_installer.pl \ $(foreach ulf,$(instsetoo_ULFLIST),$(call gb_CustomTarget_get_workdir,instsetoo_native/install)/win_ulffiles/$(ulf).ulf) \ $(if $(filter-out WNT,$(OS)),\ $(addprefix $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/,\ bin/find-requires-gnome.sh \ bin/find-requires-x11.sh) \ ) \ $(call gb_Postprocess_get_target,AllModulesButInstsetNative) $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/bin/find-requires-%.sh: $(SRCDIR)/instsetoo_native/inc_openoffice/unix/find-requires-%.sh cat $< | tr -d "\015" > $@ chmod a+x $@ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/win_ulffiles/%.ulf: \ | $(call gb_Postprocess_get_target,AllModulesButInstsetNative) $(eval $(call gb_CustomTarget_ulfex_rule,\ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/win_ulffiles/%.ulf,\ $(SRCDIR)/instsetoo_native/inc_openoffice/windows/msi_languages/%.ulf,\ $(foreach lang,$(gb_TRANS_LANGS),\ $(gb_POLOCATION)/$(lang)/instsetoo_native/inc_openoffice/windows/msi_languages.po))) export ENABLE_DOWNLOADSETS ?= TRUE ifeq ($(OS),LINUX) export DONT_REMOVE_PACKAGE := TRUE endif export instsetoo_OUT := $(WORKDIR)/installation export LOCAL_OUT := $(instsetoo_OUT) export LOCAL_COMMON_OUT := $(instsetoo_OUT) instsetoo_native_WITH_LANG := en-US $(filter-out en-US,$(gb_WITH_LANG)) PRODUCTNAME_no_spaces := $(subst $(WHITESPACE),,$(PRODUCTNAME)) ifeq (WNT,$(OS)) define instsetoo_native_msitemplates TEMPLATE_DIR=$(dir $@)msi_templates \ && rm -rf $${TEMPLATE_DIR} \ && mkdir -p $${TEMPLATE_DIR}/Binary \ && for I in $(SRCDIR)/instsetoo_native/inc_$(1)/windows/msi_templates/*.* ; do $(GREP) -v '^#' "$$I" > $${TEMPLATE_DIR}/`basename $$I` || true ; done \ && $(GNUCOPY) $(SRCDIR)/instsetoo_native/inc_common/windows/msi_templates/Binary/*.* $${TEMPLATE_DIR}/Binary endef else instsetoo_native_msitemplates := endif define instsetoo_native_install_command $(call instsetoo_native_msitemplates,$(1)) $(call gb_Helper_print_on_error, \ cd $(dir $@) \ $(foreach pkgformat,$(5),\ && $(PERL) -w $< \ -f $(BUILDDIR)/instsetoo_native/util/openoffice.lst \ -l $(subst $(WHITESPACE),$(COMMA),$(strip $(2))) \ -p $(PRODUCTNAME_no_spaces)$(3) \ -u $(instsetoo_OUT) \ -buildid $(if $(filter deb0 rpm0,$(pkgformat)$(LIBO_VERSION_PATCH)),1,$(LIBO_VERSION_PATCH)) \ $(if $(filter WNT,$(OS)), \ -msitemplate $(dir $@)msi_templates \ -msilanguage $(dir $@)win_ulffiles \ ) \ $(4) \ -format $(pkgformat) \ $(if $(verbose),-verbose,-quiet) \ ),$@.log) endef $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/install.phony: $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2) rm -rf $(instsetoo_OUT) ifeq (TRUE,$(LIBO_TEST_INSTALL)) $(call instsetoo_native_install_command,openoffice,en-US,,,archive) unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/$(PRODUCTNAME_no_spaces)/archive/install/en-US/LibreOffice*_archive.zip mv $(TESTINSTALLDIR)/LibreOffice*_archive/LibreOffice*/* $(TESTINSTALLDIR)/ rmdir $(TESTINSTALLDIR)/LibreOffice*_archive/LibreOffice* rmdir $(TESTINSTALLDIR)/LibreOffice*_archive ifeq (ODK,$(filter ODK,$(BUILD_TYPE))) $(call instsetoo_native_install_command,sdkoo,en-US,_SDK,,archive) unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/$(PRODUCTNAME_no_spaces)_SDK/archive/install/en-US/LibreOffice*_archive_sdk.zip mv $(TESTINSTALLDIR)/LibreOffice*_archive_sdk/LibreOffice*_SDK/sdk \ $(TESTINSTALLDIR)/ rmdir $(TESTINSTALLDIR)/LibreOffice*_archive_sdk/LibreOffice*_SDK rmdir $(TESTINSTALLDIR)/LibreOffice*_archive_sdk endif else # LIBO_TEST_INSTALL $(call instsetoo_native_install_command,openoffice,$(if $(filter WNT,$(OS)),$(instsetoo_native_WITH_LANG),en-US),,,$(PKGFORMAT)) ifeq (ODK,$(filter ODK,$(BUILD_TYPE))) $(call instsetoo_native_install_command,sdkoo,en-US,_SDK,,$(PKGFORMAT)) endif ifeq (HELP,$(filter HELP,$(BUILD_TYPE))$(filter MACOSX,$(OS))) $(foreach lang,$(gb_HELP_LANGS),\ $(call instsetoo_native_install_command,ooohelppack,$(lang),,-helppack,$(PKGFORMAT))) endif ifneq (WNT,$(OS)) $(foreach lang,$(instsetoo_native_WITH_LANG),\ $(call instsetoo_native_install_command,ooolangpack,$(lang),,-languagepack,$(PKGFORMAT))) endif endif # LIBO_TEST_INSTALL # vim: set noet sw=4 ts=4: ollabora/lov-5.0'>distro/collabora/lov-5.0 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/external/libnumbertext
AgeCommit message (Expand)Author
2019-05-24disable warnings in external libsLuboš Luňák
2019-01-31libnumbertext: try to remove some odd stuff from ExternalProject.mkMichael Stahl
2019-01-24Drop unnecessary gb_DEBUG_CFLAGSStephan Bergmann
2019-01-23Drop use of obsolete GCC -fno-default-inlineStephan Bergmann
2018-12-13Pass --en-/disable-werror into external/libnumbertextStephan Bergmann
2018-12-06Typo causing external/libnumbertext to always use $(gb_COMPILERNOOPTFLAGS)Stephan Bergmann
2018-11-01gbuild: rename value OS=IOS to OS=iOSMichael Stahl
2018-11-01external/libnumbertext: Don't depend on en_US.UTF-8 localeStephan Bergmann
2018-10-16bump to libnumbertext 1.0.5László Németh
2018-07-02libnumbertext: update to 1.0-1László Németh
2018-06-30libnumbertext: off-by-one in makefile rule (LIB=.. ineffective)Christian Lohmaier
2018-05-31libnumbertext: update to 1.0 beta 3László Németh
2018-05-08Pass visibility flags into external/libnumbertextStephan Bergmann
2018-05-04Allow actually passing CXXFLAGS into external/libnumbertextStephan Bergmann
2018-05-03Tunnel verbose=t into external/libnumbertextStephan Bergmann
2018-05-03tdf#117171 support localized number name numbering stylesLászló Németh