blob: 33249b65fe6443451b039e0904b440d6ced469f3 (
plain)
- SOURCES = ikiwiki
- ikiwiki_VERSION = 3.20100704
- # modules (subproject extension names) used. Expands SOURCES
- ikiwiki_MODULES = templates basewiki smiley directives
- # locales used. Expands SOURCES
- ikiwiki_LOCALES = da nb
- # gettext-based modules and locales used
- #ikiwiki_POMODULES = basewiki smiley directives
- #ikiwiki_POLOCALES = da
- dummy_MODULES = content_dummy content_dummy_da content_dummy_nb
- # uncomment this when ikiwiki.setup is configured for the local environment
- #CONFIGS = ikiwiki_da_admin.setup ikiwiki_nb_admin.setup ikiwiki_admin.setup ikiwiki_da.setup ikiwiki_nb.setup ikiwiki.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: init $(SOURCES)
- init:
- git submodule init
- git submodule update
- $(if $(dummy_MODULES),mkdir -p $(dummy_MODULES))
- touch init
- 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
|