From 57b4ef6f30d41cd14aa570b329841fc2082260ff Mon Sep 17 00:00:00 2001 From: David Bremner Date: Wed, 19 Mar 2014 21:48:03 -0300 Subject: doc: fix out-of-tree build The subtle part is adding .rst and .py files to vpath so they can be used as dependencies without prefixing with $(srcdir) We also change the interface to mkbuildeps.py: rather than getting the containing directory from the conf file path, we go the other way. --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index ab73317a..1d430b9c 100755 --- a/configure +++ b/configure @@ -719,8 +719,9 @@ configure_options = $@ # files, (which is quite ugly). vpath %.c \$(srcdir) vpath %.cc \$(srcdir) -vpath %.1 \$(srcdir) vpath Makefile.% \$(srcdir) +vpath %.py \$(srcdir) +vpath %.rst \$(srcdir) # The C compiler to use CC = ${CC} -- cgit v1.2.3