diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2007-12-20 13:16:21 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2007-12-20 13:16:21 +0000 |
commit | 53f48ca221dd5ee65297fdce42ff52aecdc03cde (patch) | |
tree | 1cda3cbc35f56fd82c2eb624de58ac99d4d64d92 /tools/python/Makefile | |
parent | 58319a498355d380f2dd5170561a984a956e2a14 (diff) | |
download | xen-53f48ca221dd5ee65297fdce42ff52aecdc03cde.tar.gz xen-53f48ca221dd5ee65297fdce42ff52aecdc03cde.tar.bz2 xen-53f48ca221dd5ee65297fdce42ff52aecdc03cde.zip |
Fix some build system error handling.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/python/Makefile')
-rw-r--r-- | tools/python/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/python/Makefile b/tools/python/Makefile index 21be26b99b..76603f4880 100644 --- a/tools/python/Makefile +++ b/tools/python/Makefile @@ -40,7 +40,7 @@ refresh-pot: $(I18NSRCFILES) $(I18NSRCFILES) sed -f remove-potcdate.sed < $(POTFILE) > $(POTFILE)-1 sed -f remove-potcdate.sed < $(POTFILE)-tmp > $(POTFILE)-2 - if cmp -s $(POTFILE)-1 $(POTFILE)-2; then \ + set -e; if cmp -s $(POTFILE)-1 $(POTFILE)-2; then \ rm -f $(POTFILE)-tmp $(POTFILE)-1 $(POTFILE)-2; \ else \ mv $(POTFILE)-tmp $(POTFILE); \ @@ -48,7 +48,7 @@ refresh-pot: $(I18NSRCFILES) fi refresh-po: $(POTFILE) - for l in $(LINGUAS); do \ + set -e; for l in $(LINGUAS); do \ if $(MSGMERGE) $(PODIR)/$$l.po $(POTFILE) > $(PODIR)/$$l-tmp ; then \ mv -f $(PODIR)/$$l-tmp $(PODIR)/$$l.po ; \ echo "$(MSGMERGE) of $$l.po succeeded" ; \ @@ -88,7 +88,7 @@ install-dtd: all $(INSTALL_DATA) xen/xm/create.dtd $(DESTDIR)/usr/share/xen install-messages: all - if which $(MSGFMT) >/dev/null ; then \ + set -e; if which $(MSGFMT) >/dev/null ; then \ mkdir -p $(DESTDIR)$(NLSDIR); \ for l in $(LINGUAS); do \ $(INSTALL_DIR) $(DESTDIR)$(NLSDIR)/$$l; \ |