summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
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))))