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