diff options
author | Jonas Smedegaard <dr@jones.dk> | 2007-10-22 02:13:51 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2007-10-22 02:13:51 +0200 |
commit | 55832f6d3d7134926b35cc7ab3e5ef56e8c00a44 (patch) | |
tree | 55b16d907675b6624fc814792c774d4910a61877 /Makefile | |
parent | 320b20776bcddffc62ee3d01114826c2d43da5dc (diff) |
Localize per soure (sources may contain different l10n).
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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)))) |