build: Look for generated file in builddir, not srcdir

This commit is contained in:
Colin Walters
2013-02-25 08:51:50 +01:00
committed by Aleksander Morgado
parent 3f8b11e3f0
commit 980ad52a47
+1 -1
View File
@@ -66,7 +66,7 @@ mm-errors-types.c: Makefile.am $(top_srcdir)/include/ModemManager-errors.h $(top
--template $(top_srcdir)/build-aux/mm-errors-template.c \
$(top_srcdir)/include/ModemManager-errors.h > $@
mm-errors-quarks.c: Makefile.am $(top_srcdir)/include/ModemManager-errors.h $(top_srcdir)/build-aux/mm-errors-quarks-template.c $(top_srcdir)/include/ModemManager-names.h mm-errors-types.h
mm-errors-quarks.c: Makefile.am $(top_srcdir)/include/ModemManager-errors.h $(top_srcdir)/build-aux/mm-errors-quarks-template.c $(top_builddir)/include/ModemManager-names.h mm-errors-types.h
$(AM_V_GEN) $(GLIB_MKENUMS) \
--fhead "#include <ModemManager.h>\n#include \"mm-errors-types.h\"\n" \
--template $(top_srcdir)/build-aux/mm-errors-quarks-template.c \