mc is used to compile the .m files into .c files at dist time. If dist is run from a clean build directory, mc is not built and the dist fails in xts5/Xproto when it tries to run it.
Add a dependency on mc for dist-hook to make sure that mc is built before the tests. Signed-off-by: Aaron Plattner <[email protected]> --- xts5/src/bin/mc/Makefile.am | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/xts5/src/bin/mc/Makefile.am b/xts5/src/bin/mc/Makefile.am index 068cc66..14f599f 100644 --- a/xts5/src/bin/mc/Makefile.am +++ b/xts5/src/bin/mc/Makefile.am @@ -12,3 +12,7 @@ AM_CFLAGS = -I$(top_srcdir)/include \ noinst_PROGRAMS = mc mc_SOURCES = main.c sections.c files.c shortname.c error.c gccomps.c set.c \ expand.c code.c make.c ma.c cond.c mas.c + +# Build mc for the 'dist' rule, because it's used to generate .c files that are +# distributed. +dist-hook: mc -- 1.7.0.4 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
