summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-07-29 13:11:08 +0000
committerFrancois Pons <fpons@mandriva.com>2003-07-29 13:11:08 +0000
commite87d9832ecaa4dae2b6071b3208c7665aac98bf9 (patch)
treeeb234d6d72d05259da363eb9849ba2b4c0d60e5a
parentd0ae38ff4d6ec1343cfc8a5cfea238f287f35b51 (diff)
downloadurpmi-e87d9832ecaa4dae2b6071b3208c7665aac98bf9.tar
urpmi-e87d9832ecaa4dae2b6071b3208c7665aac98bf9.tar.gz
urpmi-e87d9832ecaa4dae2b6071b3208c7665aac98bf9.tar.bz2
urpmi-e87d9832ecaa4dae2b6071b3208c7665aac98bf9.tar.xz
urpmi-e87d9832ecaa4dae2b6071b3208c7665aac98bf9.zip
try to make Makefile compliant (in some point of view) with older perl_checker...
-rw-r--r--po/Makefile4
1 files changed, 2 insertions, 2 deletions
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