Skip to contentSkip to conversation

fix make distcheck

PATCH New Daniel Vetter 1 participant 1 message Feb 4, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix make distcheck

Bunch of explicit include paths needed adjustments and eviction_common.c needs to be added to the dist files.

This has been broken in the following three commits:

commit 42bcd05eb3f1545fbf9c397c3f37c3f6a27c5da4

Author: Tvrtko Ursulin <[email protected]>
Date:   Mon Feb 3 10:59:41 2014 +0000

tests/eviction_common: Avoid submitting duplicate objects

commit b92b397d5e4ffe10ed92fb2fc6711758ef5bcf89

Author: Tvrtko Ursulin <[email protected]>
Date:   Tue Dec 3 15:09:57 2013 +0000

build: Make sure asserts are enabled for tests

commit 8c33e9ad111d27b84db4daac43809a807f262632

Author: Ben Widawsky <[email protected]>
Date:   Fri Dec 6 20:35:29 2013 -0800

intel-gpu-tools: Version informatio

Cc Tvrtko Ursulin <[email protected]>
Cc Ben Widawsky <[email protected]>
---
 tests/Makefile.am      | 6 +++---
 tests/Makefile.sources | 4 ++++
 2 files changed, 7 insertions(+), 3 deletions(-)
tests/Makefile.am +3 -3
index f4a7d41540d9..ac0c0d82cb31 100644
@@ -16,15 +16,15 @@ list-multi-tests:
 	@echo END TESTLIST
 
 EXTRA_PROGRAMS = $(TESTS_progs) $(TESTS_progs_M) $(HANG) $(TESTS_testsuite)
-EXTRA_DIST = $(TESTS_scripts) $(TESTS_scripts_M) $(scripts) $(IMAGES)
+EXTRA_DIST = $(TESTS_scripts) $(TESTS_scripts_M) $(scripts) $(IMAGES) $(common_files)
 
 CLEANFILES = $(EXTRA_PROGRAMS)
 
 AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) \
 	-I$(srcdir)/.. \
 	-I$(srcdir)/../lib \
-	-include "check-ndebug.h" \
-	-include "$(srcdir)/version.h" \
+	-include "$(srcdir)/../lib/check-ndebug.h" \
+	-include "$(srcdir)/../version.h" \
 	-DIGT_DATADIR=\""$(abs_srcdir)"\" \
 	$(NULL)
 
tests/Makefile.sources +4 -0
index cb96b0992f71..4299ed9213b2 100644
@@ -217,3 +217,7 @@ testdisplay_SOURCES = \
 
 TESTS_progs += testdisplay
 
+common_files = \
+	       eviction_common.c \
+	       $(NULL)
+
Signature · 1 line
1.8.5.2