From: mquinson Date: Thu, 14 Apr 2005 08:16:05 +0000 (+0000) Subject: Please die properly when flexml goes wrong or is not there X-Git-Tag: v3.3~4144 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3859e43b3cf658791366f7b150cfd0bb9fb7190c?ds=sidebyside Please die properly when flexml goes wrong or is not there git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1210 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/Makefile.am b/src/Makefile.am index cfed457e96..9dd8414f0c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -161,7 +161,7 @@ surf/surfxml.c: surf/surfxml.l @LEX@ -o$@ -Psurf_parse_ $^ surf/surfxml.l: surf/surfxml.dtd - cd surf; flexml -b 1000000 -S -L surfxml.dtd ; \ + set -e; cd surf; flexml -b 1000000 -S -L surfxml.dtd ; \ mv surfxml.l surfxml.l.bak ; \ sed 's/surfxml\.h/surf\/surfxml\.h/g' surfxml.l.bak > surfxml.l