Improve dependency and error checking in autotool build scripts for translations.

Requested by krushia.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2352 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2007-08-07 18:13:26 +00:00
parent 8425ac9af5
commit 004786ea50
1 changed files with 5 additions and 2 deletions

View File

@ -308,6 +308,8 @@ mostlyclean:
rm -f stamp-poT
rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
rm -fr *.o
rm -f warzone.pot
rm -f *~
clean: mostlyclean
@ -392,9 +394,10 @@ $(DUMMYPOFILES):
update-gmo: Makefile $(GMOFILES)
@:
Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@
Makefile: Makefile.in.in $(top_builddir)/config.status POTFILES.in
cd $(top_builddir) \
&& $(SHELL) ./config.status $(subdir)/$@.in po-directories
&& CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \
$(SHELL) ./config.status
force: