Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Help distcheck to work.
[simgrid.git] / src / Makefile.am
index 9f35fe338d9537368b65efd9f324dd49317d07b2..8fe533dc1b02ecaecbec7bf721abb3e6762ba88e 100644 (file)
@@ -399,11 +399,11 @@ gras_fragile_sources=gras/DataDesc/ddt_parse.yy.c xbt/graphxml_parse.c
 BUILT_SOURCES+=supernovae_sg.c supernovae_gras.c supernovae_smpi.c
 
 supernovae_sg.c: Makefile.am
-       ./mk_supernovae.sh supernovae_sg.c $(filter-out $(simgrid_fragile_sources),$(simgrid_sources))
+       @top_srcdir@/src/mk_supernovae.sh supernovae_sg.c $(filter-out $(simgrid_fragile_sources),$(simgrid_sources))
 supernovae_gras.c: Makefile.am
-       ./mk_supernovae.sh supernovae_gras.c $(filter-out $(gras_fragile_sources),$(gras_sources))
+       @top_srcdir@/src/mk_supernovae.sh supernovae_gras.c $(filter-out $(gras_fragile_sources),$(gras_sources))
 supernovae_smpi.c: Makefile.am
-       ./mk_supernovae.sh supernovae_smpi.c $(filter-out $(smpi_fragile_sources),$(smpi_sources))
+       @top_srcdir@/src/mk_supernovae.sh supernovae_smpi.c $(filter-out $(smpi_fragile_sources),$(smpi_sources))
 
 nodist_libsimgrid_la_SOURCES =  supernovae_sg.c $(simgrid_fragile_sources)
 nodist_libgras_la_SOURCES = supernovae_gras.c $(gras_fragile_sources)
@@ -537,7 +537,7 @@ $(top_srcdir)/include/xbt/graphxml.h xbt/graphxml.l: $(top_srcdir)/src/xbt/graph
        @echo "ERROR: Please install it, or if you didn't modify this file, try this:"
        @echo "ERROR:   touch include/xbt/graphxml.h src/xbt/graphxml.l"
        @exit 1
-simdag/dax_dtd.h simdag/dax_dtd.l: simdag/dax_dtd.dtd
+simdag/dax_dtd.h simdag/dax_dtd.l: simdag/dax.dtd
        @echo "ERROR: src/simdag/dax.dtd was modified, but the flexml program was not detected"
        @echo "ERROR: Please install it, or if you didn't modify this file, try this:"
        @echo "ERROR:   touch src/simdag/dax_dtd.h src/simdag/dax_dtd.l"