automake: ofp-errors.[c|inc] are actually inside srcdir
authorAnsis Atteka <aatteka@nicira.com>
Thu, 19 Apr 2012 19:54:16 +0000 (12:54 -0700)
committerAnsis Atteka <aatteka@nicira.com>
Fri, 20 Apr 2012 17:13:55 +0000 (10:13 -0700)
This patch fixes a build error when OVS is built inside
"./_debian" directory.

To reproduce this issue run "fakeroot debian/rules binary"
or "debuild binary" inside the git root directory.

Signed-off-by: Ansis Atteka <aatteka@nicira.com>
lib/automake.mk

index 82bafde22648b7e7cbc91d1d3a70340713a3204a..5ce287f828c57da8ed7c15f01d80b1a397872d20 100644 (file)
@@ -299,7 +299,7 @@ $(srcdir)/lib/ofp-errors.inc: \
        lib/ofp-errors.h $(srcdir)/build-aux/extract-ofp-errors
        $(PYTHON) $(srcdir)/build-aux/extract-ofp-errors \
                $(srcdir)/lib/ofp-errors.h > $@.tmp && mv $@.tmp $@
-lib/ofp-errors.c: lib/ofp-errors.inc
+$(srcdir)/lib/ofp-errors.c: $(srcdir)/lib/ofp-errors.inc
 EXTRA_DIST += build-aux/extract-ofp-errors lib/ofp-errors.inc
 
 INSTALL_DATA_LOCAL += lib-install-data-local