diff options
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/AllLangHelp.mk | 11 | ||||
-rw-r--r-- | solenv/gbuild/TargetLocations.mk | 1 |
2 files changed, 11 insertions, 1 deletions
diff --git a/solenv/gbuild/AllLangHelp.mk b/solenv/gbuild/AllLangHelp.mk index bf1732521cdb..b42dc692296a 100644 --- a/solenv/gbuild/AllLangHelp.mk +++ b/solenv/gbuild/AllLangHelp.mk @@ -35,7 +35,7 @@ ifeq ($(ENABLE_HTMLHELP),) $(call gb_Output_announce,$*,$(false),ALH,5) endif $(call gb_Helper_abbreviate_dirs,\ - rm -f $(call gb_AllLangHelp_get_target,$*) \ + rm -f $(call gb_AllLangHelp_get_target,$*) $(call gb_AllLangHelp_get_helpfiles_target,$*) \ ) # gb_AllLangHelp_AllLangHelp__one_lang module lang helpname @@ -96,9 +96,18 @@ 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)) +$(call gb_AllLangHelp_get_helpfiles_target,$(1)): $(addprefix $(SRCDIR)/,$(addsuffix .xhp,$(2))) +endif endef +ifneq ($(ENABLE_HTMLHELP),) +$(call gb_AllLangHelp_get_helpfiles_target,%): + touch $@ +endif + # Add additional localized file to the help pack. # # gb_AllLangHelp_add_localized_file module basedir file diff --git a/solenv/gbuild/TargetLocations.mk b/solenv/gbuild/TargetLocations.mk index 4911b1b8c137..7f658d9c608c 100644 --- a/solenv/gbuild/TargetLocations.mk +++ b/solenv/gbuild/TargetLocations.mk @@ -34,6 +34,7 @@ gb_UnoApi_get_target = $(INSTROOT)/$(if $(filter udkapi,$(1)),$(LIBO_URE_MISC_FO gb_AutoInstall_get_target = $(WORKDIR)/AutoInstall/$(1) gb_AllLangHelp_get_target = $(WORKDIR)/AllLangHelp/$(1) +gb_AllLangHelp_get_helpfiles_target = $(WORKDIR)/AllLangHelp/$(1).helpfiles gb_AllLangPackage_get_target = $(WORKDIR)/AllLangPackage/$(1) gb_AllLangMoTarget_get_target = $(WORKDIR)/AllLangMo/$(1) gb_AsmObject_get_target = $(WORKDIR)/AsmObject/$(1).o |