aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar David Bremner <david@tethera.net>2014-03-19 21:48:03 -0300
committerGravatar David Bremner <david@tethera.net>2014-03-25 08:32:10 -0300
commit57b4ef6f30d41cd14aa570b329841fc2082260ff (patch)
tree51183d9b62fee4cdc51016453d64e6406f2e2917 /configure
parent68c2c5d31ccbfd43052e4e5e9abcfe285fc205c8 (diff)
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
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}