summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-06-30 10:15:24 -0400
committerGaetan Nadon <memsize@videotron.ca>2011-07-11 08:10:58 -0400
commite3d5c397965a017afd2288e7f991920edb50cee4 (patch)
treebfd1889a9c26058971c40c8eb5bb4faecdd05da0 /Makefile.am
parentce1c4ce6798e956e3fa68c68fde7b7900319bc31 (diff)
Add distcheck support for header files when sdk is not writable
During distcheck, a writable location is supplied for the install test. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index edd28a6..b6e15cd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,6 +18,10 @@
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+# During distcheck, system locations (as provided by pkg-config) may
+# not be writable; provide instead relative locations.
+DISTCHECK_CONFIGURE_FLAGS = --with-sdkdir='$${includedir}/xorg'
+
SUBDIRS = include src man tools conf test
MAINTAINERCLEANFILES = ChangeLog INSTALL