16 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e53032ab9c | |||
| 39a558d3a1 | |||
| 57e63b2582 | |||
| b2d6e6f554 | |||
| 0eaef0c326 | |||
| 4cb7ff2fdd | |||
| af2455cd52 | |||
| 9d7875b5c8 | |||
| 185fe85ac0 | |||
| f70465cbd5 | |||
| f5c43f706a | |||
| 8547912bc6 | |||
| 2e1246bc55 | |||
| f1c8461ad5 | |||
| 6d7038ead6 | |||
| 5206555d96 |
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| e53032ab9c |
gettext.mk: Support GETTEXT_INPUT_EXTS
GETTEXT_INPUT_EXTS takes a whitespace separated list of extensions which are subsequently passed to find -name to locate source files which are meant to be run through xgettext. The first argument to find, translateme, is not really meant to exist, it's just there to allow adding multiple extensions preceded by -o in a $(foreach) loop. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 39a558d3a1 |
gettext.mk: Try to re-organize workflow
Try to make the workflow a little more versatile. As of this commit, .pot files are assumed to preexist, save $(GETTEXT_PROJECT_POT), which can be generated from source, and should be committed, too. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 57e63b2582 |
gettext.mk: Create a LC_MESSAGES link to .
A directory with gettext.mk in it, provided it has a locale name, makes the parent directory to a working localedir, which can be used from within the janware source tree, so add it with the all target and remove it with clean. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| b2d6e6f554 |
Everywhere: Rename MODDIR -> JWBDIR
Rename the omnipresent MODDIR variable to JWBDIR, since that's more to the point. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 0eaef0c326 |
conf/jcs, make, tmpl/doxygen: Align equal signs in makefiles to column 30
Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 4cb7ff2fdd |
gettext.mk: Fix typo in GETTEXT_PROJECT_PO
Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| af2455cd52 |
gettext.mk: Add dev-utils.mk to gettext.mk
Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 9d7875b5c8 |
gettext.mk: Add variable GETTEXT_EXTRA_KEYWORDS
Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 185fe85ac0 |
gettext.mk: Add support for multiple .po and .pot files
Up to now, generating and installing gettext .mo files worked for exactly one .po file. Now all files in the directory are compiled by default. Editing only targets $(PROJECT).po, though, so this works as before. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| f70465cbd5 |
make: Replace pwd by $(PWD)
Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| f5c43f706a |
make: Replace some executables by absolute paths to improve performance
Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 8547912bc6 |
gettext.mk: Add mechanism for preprocessing source files
Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 2e1246bc55 |
gettext.mk: Add --from-code=utf-8
Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| f1c8461ad5 |
gettext.mk: Add support for $(TOPDIR)/src and ehtr()
Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 6d7038ead6 |
gettext.mk: Support htr() function
Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 5206555d96 |
make: Add support for gettext.mk
Signed-off-by: Jan Lindemann <jan@janware.com> |