From: Johnathan Corgan Date: Thu, 22 Oct 2009 18:12:42 +0000 (-0700) Subject: Don't distribute generated files in gr-qtgui X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=0b9828e8cad48722c22979587db861e1806a7fb7;p=debian%2Fgnuradio 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. --- 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)