Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Another small fix for Vince, the only guy I know who tries a vpath build on a fresh cvs
[simgrid.git] / src / Makefile.am
index 3748c59..afabaf5 100644 (file)
@@ -255,9 +255,9 @@ gras/DataDesc/ddt_parse.yy.c: gras/DataDesc/ddt_parse.yy.l
 
 if MAINTAINER_MODE
 surf/surfxml.c: surf/surfxml.l
-       @LEX@ -o$@ -Psurf_parse_ $^
+       mkdir -p `basename $@`; @LEX@ -o$@ -Psurf_parse_ $^
 xbt/graphxml.c: xbt/graphxml.l
-       @LEX@ -o$@ -Pxbt_graph_parse_ $^
+       mkdir -p `basename $@`; @LEX@ -o$@ -Pxbt_graph_parse_ $^
 
 if HAVE_FLEXML
 surf/surfxml.l: surf/surfxml.dtd