Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cleanup: stop going into the subdir before going out [thanks Sascha]
[simgrid.git] / teshsuite / Makefile.am
index af369d1..ab95175 100644 (file)
@@ -59,7 +59,7 @@ gras_datadesc_datadesc_usage_SOURCES=   gras/datadesc/datadesc_usage.c gras/data
 gras_datadesc_datadesc_usage_LDADD=     $(LDADD_RL)
 
 gras/datadesc/datadesc_structs.c: gras/datadesc/mk_datadesc_structs.pl
-       cd gras/datadesc ; perl ../$(top_srcdir)/teshsuite/gras/datadesc/mk_datadesc_structs.pl > datadesc_structs.c
+       perl $(top_srcdir)/teshsuite/gras/datadesc/mk_datadesc_structs.pl > $@
 
   ## Ensures the gras_msg_handle semantic ##
   ##########################################