diff options
author | Aaron Watry <awatry@gmail.com> | 2013-03-20 17:38:04 -0500 |
---|---|---|
committer | Aaron Watry <awatry@gmail.com> | 2013-03-20 17:38:04 -0500 |
commit | a414248bded3840bc4b2357362e287de0ff0875e (patch) | |
tree | 84c45567a857019f23881a02250025d994d2bae6 | |
parent | ec666a51cda40f8660bf95c174bfcdc765963228 (diff) |
configure: fix out-of-source build
From: Niels Ole Salscheider <niels_ole@salscheider-online.de>
-rwxr-xr-x | configure.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.py b/configure.py index d861c24..2421f06 100755 --- a/configure.py +++ b/configure.py @@ -177,9 +177,10 @@ install_cmd = ' && '.join(['mkdir -p $(DESTDIR)/%(dst)s && cp -r %(src)s $(DESTD {'src': file, 'dst': libexecdir} for (file, dest) in install_files_bc]) -install_cmd = ' && '.join(['%(old)s && mkdir -p $(DESTDIR)/%(dst)s && cp -r generic/include/clc $(DESTDIR)/%(dst)s' % +install_cmd = ' && '.join(['%(old)s && mkdir -p $(DESTDIR)/%(dst)s && cp -r %(srcdir)s/generic/include/clc $(DESTDIR)/%(dst)s' % {'old': install_cmd, - 'dst': includedir}]) + 'dst': includedir, + 'srcdir': srcdir}]) install_cmd = ' && '.join(['%(old)s && mkdir -p $(DESTDIR)/%(dst)s && cp -r libclc.pc $(DESTDIR)/%(dst)s' % {'old': install_cmd, 'dst': pkgconfigdir}]) |