wesnoth/po/Makefile.am
Jordà Polo 0de76bfe8f [[Fixes for translation building]]
.pot and .po files of po4a-based domains are now updated when running
update-po, if po4a is installed. (To generate the translated documents,
use update-po4a.)

update-po4a now removes the empty directories generated by po4a.
2006-08-23 22:19:28 +00:00

29 lines
653 B
Makefile

SUBDIRS = wesnoth wesnoth-editor wesnoth-lib wesnoth-tutorial wesnoth-httt wesnoth-ei wesnoth-trow wesnoth-tb wesnoth-tsg wesnoth-utbs
PO4A_SUBDIRS = wesnoth-man
EXTRA_DIST = Makefile.in.in
update-po:
@for dir in $(SUBDIRS); do \
( cd $$dir && make $@ || exit $? ); \
done
if PO4AUPDATE
@for dir in $(PO4A_SUBDIRS); do \
( cd $$dir && $(PO4A) --no-translations --rm-backups $$dir.cfg || \
exit $? ); \
done
endif
if PO4AUPDATE
update-po4a:
@for dir in $(PO4A_SUBDIRS); do \
( cd $$dir && $(PO4A) --rm-backups $$dir.cfg || exit $? ); \
done
endif
distclean-local:
@for dir in $(SUBDIRS); do \
rm -f $$dir/Makefile.in.in ; \
done