From 0b9828e8cad48722c22979587db861e1806a7fb7 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Thu, 22 Oct 2009 11:12:42 -0700 Subject: [PATCH] Don't distribute generated files in gr-qtgui The output of the moc compiler will contain generated paths which are only valid on the system at compilation time. Instead, let these get regenerated on the user's system. The moc compiler is part of libqt4-dev, which is already a build dependency. --- gr-qtgui/src/lib/Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gr-qtgui/src/lib/Makefile.am b/gr-qtgui/src/lib/Makefile.am index 6c90c31f..814bee13 100644 --- a/gr-qtgui/src/lib/Makefile.am +++ b/gr-qtgui/src/lib/Makefile.am @@ -112,7 +112,8 @@ include $(top_srcdir)/Makefile.swig # add some of the variables generated inside the Makefile.swig.gen BUILT_SOURCES += \ $(swig_built_sources) - -# Do not distribute the output of SWIG -no_dist_files = $(swig_built_sources) endif + +# Do not distribute built sources, they may contain generated paths +# which are invalid on other systems +no_dist_files = $(BUILT_SOURCES) -- 2.47.2