summaryrefslogtreecommitdiff
path: root/Makefile
blob: fa30bb3004d8dd94a71c9e00813a6bd3b06e6fd4 (plain)
  1. SOURCES = ikiwiki
  2. ikiwiki_ORIGIN = git://source.jones.dk/ikiwiki_MODULE
  3. ikiwiki_MODULES = templates basewiki smiley
  4. #ikiwiki_basewiki_FLAVORS = nonedit
  5. #ikiwiki_templates_FLAVORS = nonedit
  6. ikiwiki_POMODULES = basewiki smiley
  7. ikiwiki_BRANCH = clean-FLAVOR-LOCALE
  8. #ikiwiki_LOCALES = da nb
  9. ikiwiki_POLOCALES = da
  10. #dummy_MODULES = content_dummy
  11. # uncomment this when ikiwiki.setup is configured for the local environment
  12. #CONFIGS = ikiwiki.setup
  13. # Everything after this is generic
  14. # FIXME: Not all of these are used within templates
  15. masterdir = $(module)
  16. l10ndir = $(module)_l10n/$(locale)
  17. flavordir = $(module)_$(flavor)
  18. flavorl10ndir = $(module)_$(flavor)_l10n/$(locale)
  19. podir = po
  20. all: $(SOURCES)
  21. install::
  22. ifeq ($(strip $(CONFIGS)),)
  23. $(error Please configure ikiwiki.setup and then uncomment it at the top of the Makefile!)
  24. endif
  25. include make/rules.mk
  26. pot: $(ALL_POTFILES)
  27. po: $(ALL_POFILES)
  28. $(LOCALE_L10NFILES): $(MASTER_L10NFILES)
  29. translations: po $(LOCALE_L10NFILES)
  30. .PHONY: all $(SOURCES) pot po translations install ultraclean