summaryrefslogtreecommitdiff
path: root/Makefile
blob: b62eb450fd8c285f3567c0c26b575ff59fe223ab (plain)
  1. SOURCES = ikiwiki
  2. ikiwiki_VERSION = 2.62.1
  3. # Git origin (with capital MOULE replaced or stripped as needed)
  4. ikiwiki_ORIGIN = git://source.jones.dk/ikiwiki_MODULE
  5. # Git branch (with capital FLAVOR and LOCALE replaced or stripped as needed)
  6. ikiwiki_BRANCH = master-FLAVOR-LOCALE
  7. # modules (subproject extension names) used. Expands Git ORIGINs
  8. ikiwiki_MODULES = templates basewiki smiley
  9. # flavors used. Expands Git BRANCHes
  10. #ikiwiki_basewiki_FLAVORS = nonedit
  11. #ikiwiki_templates_FLAVORS = nonedit
  12. # locales used. Expands Git BRANCHes
  13. #ikiwiki_LOCALES = da nb
  14. # gettext-based modules and locales used
  15. #ikiwiki_POMODULES = basewiki smiley
  16. #ikiwiki_POLOCALES = da
  17. #dummy_MODULES = content_dummy
  18. # uncomment this when ikiwiki.setup is configured for the local environment
  19. #CONFIGS = ikiwiki_da.setup
  20. # Everything after this is generic
  21. # FIXME: Not all of these are used within templates
  22. masterdir = $(module)
  23. l10ndir = $(module)_l10n/$(locale)
  24. flavordir = $(module)_$(flavor)
  25. flavorl10ndir = $(module)_$(flavor)_l10n/$(locale)
  26. podir = po
  27. all: $(SOURCES)
  28. install::
  29. ifeq ($(strip $(CONFIGS)),)
  30. $(error Please configure ikiwiki.setup and then uncomment it at the top of the Makefile!)
  31. endif
  32. include make/rules.mk
  33. pot: $(ALL_POTFILES)
  34. po: $(ALL_POFILES)
  35. $(LOCALE_L10NFILES): $(MASTER_L10NFILES)
  36. translations: po $(LOCALE_L10NFILES)
  37. .PHONY: all $(SOURCES) pot po translations install ultraclean