diff --git a/ovsdb/automake.mk b/ovsdb/automake.mk index c43acf7e4..b895f4292 100644 --- a/ovsdb/automake.mk +++ b/ovsdb/automake.mk @@ -120,7 +120,7 @@ OVSDB_DOT = $(run_python) $(srcdir)/ovsdb/ovsdb-dot.in EXTRA_DIST += ovsdb/_server.ovsschema CLEANFILES += ovsdb/_server.ovsschema.inc -ovsdb/ovsdb-server.o: ovsdb/_server.ovsschema.inc +ovsdb/ovsdb-server.$(OBJEXT): ovsdb/_server.ovsschema.inc ovsdb/_server.ovsschema.inc: ovsdb/_server.ovsschema $(srcdir)/build-aux/text2c $(AM_V_GEN)$(run_python) $(srcdir)/build-aux/text2c < $< > $@.tmp $(AM_V_at)mv $@.tmp $@