blob: 079c87a3f321e82732a17de9a7e41f1bf9893beb (
plain)
- SOURCES = ikiwiki
- # Git origin (with capital MOULE replaced or stripped as needed)
- ikiwiki_ORIGIN = git://source.jones.dk/ikiwiki_MODULE
- # Git branch (with capital FLAVOR and LOCALE replaced or stripped as needed)
- ikiwiki_BRANCH = clean-FLAVOR-LOCALE
- # modules (subproject extension names) used. Expands Git ORIGINs
- ikiwiki_MODULES = templates basewiki smiley
- # flavors used. Expands Git BRANCHes
- ikiwiki_basewiki_FLAVORS = nonedit
- ikiwiki_templates_FLAVORS = nonedit
- # locales used. Expands Git BRANCHes
- ikiwiki_LOCALES = da
- # gettext-based modules and locales used
- #ikiwiki_POMODULES = basewiki smiley
- #ikiwiki_POLOCALES = da
- dummy_MODULES = content_dummy
- # uncomment this when ikiwiki.setup is configured for the local environment
- #CONFIGS = ikiwiki_da.setup ikiwiki_da_admin.setup
- # Everything after this is generic
- # 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)
- install::
- ifeq ($(strip $(CONFIGS)),)
- $(error Please configure ikiwiki.setup and then uncomment it at the top of the Makefile!)
- endif
- include make/rules.mk
- pot: $(ALL_POTFILES)
- po: $(ALL_POFILES)
- $(LOCALE_L10NFILES): $(MASTER_L10NFILES)
- translations: po $(LOCALE_L10NFILES)
- .PHONY: all $(SOURCES) pot po translations install ultraclean
|