5 LANGUAGES
= $(shell cd po
&& ls
)
10 echo
"[po4a_langs] $(LANGUAGES)" > po4a.cfg
11 echo
"[po4a_paths] pot/\$$master.pot \$$lang:po/\$$lang/\$$master.po" >> po4a.cfg
13 for MANPAGE in en
/*; \
15 SECTION
="$$(basename $${MANPAGE} | sed -e 's|\.|\n|g' | tail -n1)"; \
16 echo
"[type: man] $${MANPAGE} \$$lang:\$$lang/$$(basename $${MANPAGE} .$${SECTION}).\$$lang.$${SECTION}" >> po4a.cfg
; \
20 .
/bin
/update-version.sh
23 @if
[ ! -x
"$$(which po4a 2>/dev/null)" ]; \
25 echo
"E: po4a - command not found"; \
26 echo
"I: po4a can be obtained from:"; \
27 echo
"I: http://po4a.alioth.debian.org/"; \
28 echo
"I: On Debian based systems, po4a can be installed with:"; \
29 echo
"I: apt-get install po4a"; \
33 po4a
--keep
0 --package-name live-boot
--package-version
$(shell cat ..
/VERSION
) po4a.cfg
41 rebuild
: distclean update build
44 @echo
-n
"Checking the integrity of .po files "
46 @if
[ -x
/usr
/bin
/msgfmt
]; \
48 for POFILE in po
/*/*; \
50 msgfmt
--check --output-file
=/dev
/null
$${POFILE}; \
54 echo
"WARNING: skipping po integrity check. You must install gettext."; \