From e87d9832ecaa4dae2b6071b3208c7665aac98bf9 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 29 Jul 2003 13:11:08 +0000 Subject: try to make Makefile compliant (in some point of view) with older perl_checker... --- po/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'po/Makefile') diff --git a/po/Makefile b/po/Makefile index aeb00b56..5d95c994 100644 --- a/po/Makefile +++ b/po/Makefile @@ -37,8 +37,8 @@ $(PGOAL).pot: $(CFILES) --keyword=_ --keyword=__ --keyword=N_ --keyword=N \ --keyword=gettext \ --language=C -o placeholder.pot $(CFILES) - perl_checker -q --generate-pot $(PGOAL)_tmp.pot $(PL_FILES) - msgcat --use-first placeholder.pot $(PGOAL)_tmp.pot > $@ + perl_checker -q --generate-pot $(PGOAL)_tmp.pot $(PL_FILES) || rm -f $(PGOAL)_tmp.pot + [ -e $(PGOAL)_tmp.pot ] && msgcat --use-first placeholder.pot $(PGOAL)_tmp.pot > $@ rm -f placeholder.pot $(PGOAL)_tmp.pot install: all -- cgit v1.2.1