summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-08-09 05:13:29 +0200
committerJonas Smedegaard <dr@jones.dk>2008-08-09 05:13:29 +0200
commit99497f5afe26835a1769ea37004081418571ec69 (patch)
tree603df80b6fede00fd0f7814a721734932d21c68d /Makefile
parent12b77d467ad60c649d706f01b73eb600c4375a30 (diff)
Extend make to support FLAVORS.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5ea3bd6..10ef01b 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,10 @@ SOURCES = ikiwiki
ikiwiki_ORIGIN = git://source.jones.dk/ikiwiki_MODULE
ikiwiki_MODULES = templates basewiki smiley
+ikiwiki_basewiki_FLAVORS = nonedit
+ikiwiki_templates_FLAVORS = nonedit
ikiwiki_POMODULES = basewiki smiley
-ikiwiki_BRANCH = master-LOCALE
+ikiwiki_BRANCH = master-FLAVOR-LOCALE
ikiwiki_LOCALES = da nb
ikiwiki_POLOCALES = da
@@ -17,6 +19,8 @@ ikiwiki_POLOCALES = da
# FIXME: Not all of these are used within templates
masterdir = $(module)
l10ndir = $(module)_l10n/$(locale)
+flavordir = $(module)_$(flavor)
+flavorl10ndir = $(module)_$(flavor)_l10n/$(locale)
podir = po
all: $(SOURCES)