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 # uncomment this when ikiwiki.setup is configured for the local environment #CONFIGS = ikiwiki_nb_admin.setup ikiwiki_nb.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 touch init install:: init $(dummy_MODULES) ifeq ($(strip $(CONFIGS)),) $(error Please configure ikiwiki.setup and then uncomment it at the top of the Makefile!) endif content_dummy_master: mkdir $@ cd $@ && git init echo .ikiwiki > $@/.gitignore cd $@ && git add .gitignore cd $@ && git commit -m "Ignore .ikiwiki." $(dummy_MODULES): content_dummy_master git clone $< $@ clean:: rm -rf content_dummy_master $(dummy_MODULES) 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 clean ='clean'>clean old ikiwiki engine, based on git.ikiwiki.infoJonas Smedegaard
summaryrefslogtreecommitdiff
path: root/README
blob: da044bfae3bed797dbc96665c084cb0b6841d95b (plain)
  1. Ikiwiki w/ translations
  2. =======================
  3. Ikiwiki[1] is a perl-based wiki compiler.
  4. This is routines to manage translatable parts of Ikiwiki and translations into
  5. the following locales:
  6. * danish (da) by Jonas Smedegaard <dr@jones.dk>
  7. Additionally, the configuration has been simplified to not mention non-Git VCS
  8. systems, and deprecated placeholder files has been removed from basewiki.
  9. Getting the source
  10. ------------------
  11. This README file is available at http://source.jones.dk/ together with a GIT
  12. repository with source of the translation routines. Pull it like this:
  13. git clone git://source.jones.dk/ikiwiki
  14. Installation
  15. ------------
  16. To pull in all translatable and translated parts, do this:
  17. make
  18. Customizing
  19. -----------
  20. To publish your own forked repository through web, you first need to create a
  21. special public repository that you "push" your changes into from your private
  22. working repository - like this:
  23. GIT_DIR=public_dir/repository_name.git git --bare init --shared
  24. chmod +x public_dir/repository_name.git/hooks/post-update
  25. To actually use your newly created public repository created above, you need to
  26. populate it with your current working repository (the --all option is only this
  27. once, not on subsequent pushes) - like this:
  28. git config remote.origin.url git-reference-to-public-repository
  29. git push --all
  30. To instead populate your newly created public repository with a multi-branched
  31. local repository, first make a complete clone with all branches setup locally,
  32. and push it all - like this for repository with master and master-da branches:
  33. git clone git-reference-to-old-public-repository some-temp-dir
  34. cd some-temp-dir
  35. git checkout -b master-da origin/master-da
  36. git config remote.origin.url git-reference-to-public-repository
  37. git push --all
  38. To resyncronize an older fork of the repository with newer upstream changes, do
  39. like this (skip first command on subsequent updates):
  40. git remote add ikiwiki git://source.jones.dk/ikiwiki
  41. git pull ikiwiki master