diff options
-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)))) |