From: Ansis Atteka Date: Thu, 19 Apr 2012 19:54:16 +0000 (-0700) Subject: automake: ofp-errors.[c|inc] are actually inside srcdir X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a082dd9b6080cb0913d0818cb4858045db24a011;p=openvswitch automake: ofp-errors.[c|inc] are actually inside srcdir 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 --- diff --git a/lib/automake.mk b/lib/automake.mk index 82bafde2..5ce287f8 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -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