Currently, there's a $(GETTEXT_PROJECT_PO): $(GETTEXT_POT) rule, but since
updates to the workflow now considers, allows and mandates one or multiple
*.pot files as the authoritative source for translations, make this a pattern
rule rather than only valid for $(GETTEXT_POT).
Signed-off-by: Jan Lindemann <jan@janware.com>
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>
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>
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>
doxygen needs to be called as
doxygen -w html header-file footer-file stylesheet config-file
The invocation contains the logo, though, which has no business there.
Fix that.
Signed-off-by: Jan Lindemann <jan@janware.com>
text-files-list-0 returns a zero-delimited list of text files for further
processing, which allows to correctly handle spaces in file names
Signed-off-by: Jan Lindemann <jan@janware.com>
PACKAGE_INSTALL_DIR, true by default, can be used to turn off
target dir creation from a directory to avoid duplication from
other packages
Signed-off-by: Jan Lindemann <jan@janware.com>
Make scm.sh ls-files list all files belonging to submodules, too. The use case
is to have list-text-files return them.
Signed-off-by: Jan Lindemann <jan@janware.com>
jw-build is meant as a generic set of tools for building other projects, so
references to projects being built by jw-build introduce a circular dependency.
Remove those references from defs.mk and rules.mk.
Variables removed by this commit:
BTOOLS_DIR
FEEDFSD_DIR
FEEDFS_DIR
FEEDFS_GUI_DIR
FEEDFS_OBJECTS_DIR
FEEDFS_UTILS_DIR
FEEDFS_WT_DIR
JUX_SHARED_DIR
SITE_DIR
VALDI_DIR
XCHANGE_DIR
Signed-off-by: Jan Lindemann <jan@janware.com>
Project names passed to the package manager can contain characters
not well digested by the shell. Don't let it.
Signed-off-by: Jan Lindemann <jan@janware.com>
Installing packages breaks with eval, because it removes quotes,
notably around perl(XYZ) capabilities. Works just as well without
eval, remove it
Signed-off-by: Jan Lindemann <jan@janware.com>