From 55832f6d3d7134926b35cc7ab3e5ef56e8c00a44 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 22 Oct 2007 02:13:51 +0200 Subject: Localize per soure (sources may contain different l10n). --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c8d525e..cc0e7c2 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,9 @@ sources = ikiwiki origin_ikiwiki = http://source.jones.dk/ikiwiki_$(underlay).git underlays_ikiwiki = basewiki smiley templates master_ikiwiki = master$(locale:%=-$(locale)) +locales_ikiwiki = da -locales = da - -underlays_l10n = $(foreach source, $(sources), $(foreach locale, $(locales), $(patsubst %,%_l10n/$(locale),$(underlays_$(source))))) +underlays_l10n = $(foreach source, $(sources), $(foreach locale, $(locales_$(source)), $(patsubst %,%_l10n/$(locale),$(underlays_$(source))))) underlays = $(foreach source, $(sources), $(underlays_$(source))) $(underlays_l10n) source_of_underlay = $(firstword $(foreach source, $(sources), $(if $(filter $(underlay),$(underlays_$(source))),$(source)))) -- cgit v1.2.3