Update RISC OS make target to filter split messages

This commit is contained in:
Vincent Sanders 2015-04-07 00:19:33 +01:00
parent a838fa3ee9
commit 062c40140f

View File

@ -36,7 +36,7 @@ $(eval $(call pkg_config_find_and_add_enabled,JS,mozilla-js,JavaScript))
TPD_RISCOS = $(foreach TPL,$(notdir $(TPL_RISCOS)), \
!NetSurf/Resources/$(TPL)/Templates$(TPLEXT))
RESOURCES = $(TPD_RISCOS) split-messages
RESOURCES = $(TPD_RISCOS)
CFLAGS += -Driscos -std=c99 -D_BSD_SOURCE -D_POSIX_C_SOURCE \
-mpoke-function-name -fno-strict-aliasing
@ -89,6 +89,9 @@ SOURCES = $(S_COMMON) $(S_IMAGE) $(S_BROWSER) $(S_RISCOS)
EXETARGET := !NetSurf/!RunImage$(EXEEXT)
# The filter and target for split messages
MESSAGES_FILTER=ro
!NetSurf/!Run$(RUNEXT): riscos/scripts/Run $(EXETARGET)
$(VQ)echo " MAKERUN: $@"
$(Q)$(MAKERUN) $(EXETARGET) $< $@
@ -115,10 +118,6 @@ clean-help:
CLEANS += clean-run clean-help
split-messages:
$(call split_install_messages, ro, !NetSurf/Resources/)
.PHONY: split-messages
# ----------------------------------------------------------------------------
# Template targets
# ----------------------------------------------------------------------------
@ -127,6 +126,7 @@ split-messages:
TPL_RISCOS := de en fr nl # TODO: It'd be nice to auto-detect these
TPL_RISCOS := $(addprefix riscos/templates/,$(TPL_RISCOS))
# Template target creation macro
define compile_template
!NetSurf/Resources/$(1)/Templates$$(TPLEXT): $(2)
$$(VQ)echo "TEMPLATE: $(2)"