diff mbox

[i-g-t] tools/quick_dump: don't include generated sources in the distribution

Message ID 1415204250-27125-1-git-send-email-thomas.wood@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Wood Nov. 5, 2014, 4:17 p.m. UTC
This also ensures that "make dist" works even if SWIG is not available.

BUILT_SOURCES is not required because the files are already explicit
dependencies of other rules.

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
---
 tools/quick_dump/Makefile.am | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/tools/quick_dump/Makefile.am b/tools/quick_dump/Makefile.am
index e7e1f62..29d5721 100644
--- a/tools/quick_dump/Makefile.am
+++ b/tools/quick_dump/Makefile.am
@@ -1,13 +1,12 @@ 
 AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib $(PYTHON_CPPFLAGS) $(DRM_CFLAGS) $(CAIRO_CFLAGS) -I$(top_srcdir)
 
-BUILT_SOURCES = chipset_wrap_python.c
-
 dist_bin_SCRIPTS = quick_dump.py reg_access.py
 bin_SCRIPTS = chipset.py
 
 lib_LTLIBRARIES = I915ChipsetPython.la
 I915ChipsetPython_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS)
-I915ChipsetPython_la_SOURCES = chipset_wrap_python.c chipset_macro_wrap.c
+I915ChipsetPython_la_SOURCES = chipset_macro_wrap.c
+nodist_I915ChipsetPython_la_SOURCES = chipset_wrap_python.c
 I915ChipsetPython_la_LIBADD =			\
 	$(top_builddir)/lib/libintel_tools.la	\
 	$(PCIACCESS_LIBS)			\
@@ -26,4 +25,4 @@  EXTRA_DIST = $(QUICK_DUMP_EXTRA_DIST) \
 	      base_interrupt.txt base_other.txt base_power.txt base_rings.txt \
 	      quick_dump.py \
 	      reg_access.py \
-	      chipset.i chipset.py
+	      chipset.i