# -*- 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/. # # class AllLangHelp # Creates and delivers all language versions of a module. gb_AllLangHelp_HELPDIRNAME := helpcontent2 gb_AllLangHelp_AUXDIRNAME := auxiliary gb_AllLangHelp_HELPDIR := $(gb_AllLangHelp_HELPDIRNAME)/source gb_AllLangHelp_AUXDIR := $(gb_AllLangHelp_HELPDIR)/$(gb_AllLangHelp_AUXDIRNAME) gb_AllLangHelp__get_helpname = $(1)/$(2) ifneq ($(ENABLE_HTMLHELP),) $(call gb_AllLangHelp_get_helpfiles_target,%): | \ $(dir $(call gb_AllLangHelp_get_helpfiles_target,%)).dir touch $@ endif $(dir $(call gb_AllLangHelp_get_target,%)).dir : $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) $(dir $(call gb_AllLangHelp_get_target,%))%/.dir : $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) $(call gb_AllLangHelp_get_target,%) : ifeq ($(ENABLE_HTMLHELP),) $(call gb_Output_announce,$*,$(true),ALH,5) endif touch $@ $(call gb_AllLangHelp_get_clean_target,%) : ifeq ($(ENABLE_HTMLHELP),) $(call gb_Output_announce,$*,$(false),ALH,5) endif $(call gb_Helper_abbreviate_dirs,\ rm -f $(call gb_AllLangHelp_get_target,$*) $(call gb_AllLangHelp_get_helpfiles_target,$*) \ ) # gb_AllLangHelp_AllLangHelp__one_lang module lang helpname define gb_AllLangHelp_AllLangHelp__one_lang $(call gb_HelpTarget_HelpTarget,$(3),$(1),$(2)) $(call gb_HelpTarget_set_helpdir,$(3),$(gb_AllLangHelp_HELPDIR)) $(call gb_AllLangHelp_get_target,$(1)) : $(call gb_HelpTarget_get_target,$(3)) ifeq ($(ENABLE_HTMLHELP),) $(call gb_AllLangHelp_get_target,$(1)) : $(call gb_Package_get_target,$(call gb_HelpTarget_get_packagename,$(3))) endif $(call gb_AllLangHelp_get_clean_target,$(1)) : $(call gb_HelpTarget_get_clean_target,$(3)) ifeq ($(ENABLE_HTMLHELP),) $(call gb_AllLangHelp_get_clean_target,$(1)) : $(call gb_Package_get_clean_target,$(call gb_HelpTarget_get_packagename,$(3))) endif endef # Create and deliver help packs for a module for all languages. # # gb_AllLangHelp_AllLangHelp module gb_AllLangHelp_ALLTARGETS := define gb_AllLangHelp_AllLangHelp gb_AllLangHelp_ALLTARGETS += $(1) $(foreach lang,$(gb_HELP_LANGS),\ $(call gb_AllLangHelp_AllLangHelp__one_lang,$(1),$(lang),$(call gb_AllLangHelp__get_helpname,$(1),$(lang)))) $(call gb_AllLangHelp_get_target,$(1)) :| $(dir $(call gb_AllLangHelp_get_target,$(1))).dir $$(eval $$(call gb_Module_register_target,$(call gb_AllLangHelp_get_target,$(1)),$(call gb_AllLangHelp_get_clean_target,$(1)))) $(call gb_Helper_make_userfriendly_targets,$(1),AllLangHelp) endef # gb_AllLangHelp_set_treefile module treefile define gb_AllLangHelp_set_treefile $(foreach lang,$(gb_HELP_LANGS),\ $(call gb_HelpTarget_set_treefile,$(call gb_AllLangHelp__get_helpname,$(1),$(lang)),$(2),$(gb_AllLangHelp_HELPDIR)/text) \ ) endef # Add one or more help files. # # gb_AllLangHelp_add_helpfiles module file(s) [optional bookmark token] define gb_AllLangHelp_add_helpfiles $(foreach lang,$(gb_HELP_LANGS),\ $(call gb_HelpTarget_add_helpfiles,$(call gb_AllLangHelp__get_helpname,$(1),$(lang)),$(2)) \ ) ifneq ($(ENABLE_HTMLHELP),) gb_AllLangHelp_$(1)_HELPFILES += $(addsuffix .xhp,$(2)) gb_AllLangHelp_$(or $(3),$(1))_BOOKMARK_HELPFILES += $(addsuffix .xhp,$(2)) $(call gb_AllLangHelp_get_helpfiles_target,$(1)): $(addprefix $(SRCDIR)/,$(addsuffix .xhp,$(2))) endif endef # Add additional localized file(s) to the help pack. # # gb_AllLangHelp_add_localized_files module basedir file(s) define gb_AllLangHelp_add_localized_files $(foreach lang,$(gb_HELP_LANGS),\ $(call gb_HelpTarget_add_files,$(call gb_AllLangHelp__get_helpname,$(1),$(lang)),$(addprefix $(2)/$(lang)/,$(3))) \ ) endef # Add a localized file from helpdir under a new name. # # This is a hack needed for err.html in shared help module. # # gb_AllLangHelp_add_helpdir_file module filename file define gb_AllLangHelp_add_helpdir_file $(foreach lang,$(gb_HELP_LANGS),\ $(call gb_HelpTarget_add_helpdir_file,$(call gb_AllLangHelp__get_helpname,$(1),$(lang)),$(2),$(3)) \ ) endef # gb_AllLangHelp__use_module module other-module lang define gb_AllLangHelp__use_module $(call gb_HelpTarget_use_module,$(call gb_AllLangHelp__get_helpname,$(1),$(3)),$(call gb_AllLangHelp__get_helpname,$(2),$(3))) endef # Use references from another help module's files. # # gb_AllLangHelp_use_module module other-module define gb_AllLangHelp_use_module $(foreach lang,$(gb_HELP_LANGS),$(call gb_AllLangHelp__use_module,$(1),$(2),$(lang))) endef # Use references from other help modules' files. # # gb_AllLangHelp_use_module module other-module(s) define gb_AllLangHelp_use_modules $(foreach module,$(2),$(call gb_AllLangHelp_use_module,$(1),$(module))) endef # gb_AllLangHelp__use_linked_module module other-module lang define gb_AllLangHelp__use_linked_module $(call gb_HelpTarget_use_linked_module,$(call gb_AllLangHelp__get_helpname,$(1),$(3)),$(call gb_AllLangHelp__get_helpname,$(2),$(3))) $(call gb_HelpTarget_set_indexed,$(call gb_AllLangHelp__get_helpname,$(1),$(3))) $(call gb_HelpTarget_set_configfile,$(call gb_AllLangHelp__get_helpname,$(1),$(3)),$(gb_AllLangHelp_AUXDIR)/$(3)/$(1)) endef # Link with another help module. # # gb_AllLangHelp_use_linked_module module other-module define gb_AllLangHelp_use_linked_module $(foreach lang,$(gb_HELP_LANGS),$(call gb_AllLangHelp__use_linked_module,$(1),$(2),$(lang))) endef # Link with other help module(s). # # gb_AllLangHelp_use_linked_module module other-module(s) define gb_AllLangHelp_use_linked_modules $(foreach module,$(2),$(call gb_AllLangHelp_use_linked_module,$(1),$(module))) endef # vim: set noet sw=4 ts=4: /collabora/viewer2'>distro/collabora/viewer2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/test/Library_subsequenttest.mk
AgeCommit message (Expand)Author
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky
2016-04-27tdf#45904 Move java XViewPane test to c++Fabio Buso
2014-08-08XStyleLoader2 loadStylesFromDocument - unit testsLaurent Godard
2014-06-12Fix vclplug_* dependencies for gb_CppunitTest_use_vclStephan Bergmann
2013-11-09Calc UNO API testLionel Elie Mamane
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-05new module i18nlangtagEike Rathke
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl
2013-01-24sc test XSheetOutlineLaurent Godard
2013-01-17sc test for XSheetAnnotationsLaurent Godard
2013-01-17sc test for XSheetAnnotationLaurent Godard
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl
2012-09-25move XGoalSeek api test to c++Markus Mohrhard
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks
2012-05-03Added interface test for text::XText.Kohei Yoshida
2012-04-30Started porting the XPropertySet test code.Kohei Yoshida
2012-04-26add test for XTextContentMarkus Mohrhard
2012-04-26add test case for xtextfieldMarkus Mohrhard
2012-04-17transferring java XPrintAreas to c++Artur Dorda
2012-04-08gbuild: "use" vs. "add":Michael Stahl
2012-03-01add test case for XSpreadsheetDocumentMarkus Mohrhard
2012-02-19add test for XCellRangeReferrerMarkus Mohrhard
2012-02-17add test code for XCellRangeDataMarkus Mohrhard
2012-02-10fdo#39491 more of unnecessary include pathsMatúš Kukan
2012-02-10add test code for XDataPilotTable2Markus Mohrhard
2012-02-02add test for XNameReplaceMarkus Mohrhard
2012-01-30add test case for XReplaceableMarkus Mohrhard
2012-01-25add interface test for util::XSearchableMarkus Mohrhard
2012-01-25add XNamed interface test and add this test to ScDataPilotTableObjMarkus Mohrhard
2012-01-23add new interface tests for some common data structuresMarkus Mohrhard
2012-01-23refactor concept for c++ based subsequenttestsMarkus Mohrhard
2012-01-23add library for c++ based subsequenttestsMarkus Mohrhard