29 lines
856 B
Makefile
29 lines
856 B
Makefile
SUBDIRS = wesnoth wesnoth-editor wesnoth-lib wesnoth-units wesnoth-multiplayer wesnoth-tutorial wesnoth-aoi wesnoth-did wesnoth-ei wesnoth-httt wesnoth-l wesnoth-nr wesnoth-sof wesnoth-sotbe wesnoth-tb wesnoth-thot wesnoth-trow wesnoth-tsg wesnoth-utbs
|
|
|
|
PO4A_SUBDIRS = wesnoth-manpages
|
|
PO4A_OPTIONS = --rm-backups --copyright-holder "Wesnoth Development Team"
|
|
|
|
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) $(PO4A_OPTIONS) --no-translations $$dir.cfg || \
|
|
exit $? ); \
|
|
done
|
|
endif
|
|
|
|
if PO4AUPDATE
|
|
update-po4a:
|
|
@for dir in $(PO4A_SUBDIRS); do \
|
|
( cd $$dir && $(PO4A) $(PO4A_OPTIONS) $$dir.cfg || exit $? ); \
|
|
done
|
|
endif
|
|
|
|
distclean-local:
|
|
@for dir in $(SUBDIRS); do \
|
|
rm -f $$dir/Makefile.in.in ; \
|
|
done
|