Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
bug fix suggested by Vince... :)
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 12 Jul 2006 23:22:59 +0000 (23:22 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 12 Jul 2006 23:22:59 +0000 (23:22 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2554 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/Makefile.am

index 185e625..c75d1db 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
 
 if MAINTAINER_MODE
 surf/surfxml.c: surf/surfxml.l
-       set -e;mkdir -p `basename $@`; @LEX@ -o$@ -Psurf_parse_ $^
+       set -e;mkdir -p `dirname $@`; @LEX@ -o$@ -Psurf_parse_ $^
 xbt/graphxml.c: xbt/graphxml.l
 xbt/graphxml.c: xbt/graphxml.l
-       set -e;mkdir -p `basename $@`; @LEX@ -o$@ -Pxbt_graph_parse_ $^
+       set -e;mkdir -p `dirname $@`; @LEX@ -o$@ -Pxbt_graph_parse_ $^
 
 if HAVE_FLEXML
 surf/surfxml.l: $(top_srcdir)/src/surf/surfxml.dtd
 
 if HAVE_FLEXML
 surf/surfxml.l: $(top_srcdir)/src/surf/surfxml.dtd