summaryrefslogtreecommitdiff
path: root/Makefile
blob: e246e38d69be5ecf41a5af80ca31f744a28b30bb (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 = clean-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.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