[vlc-devel] [PATCH] keystore: fix distcheck when Qt is not present

Sean McGovern gseanmcg at gmail.com
Wed Jan 20 03:36:40 CET 2016


Qt moc files should always be marked as nodist_
---
 modules/keystore/Makefile.am |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/keystore/Makefile.am b/modules/keystore/Makefile.am
index 9a73165..d216d64 100644
--- a/modules/keystore/Makefile.am
+++ b/modules/keystore/Makefile.am
@@ -20,7 +20,9 @@ moc_verbose__0 = $(moc_verbose_0)
 .hpp.moc.cpp:
 	$(moc_verbose)$(MOC) $(MOC_CPPFLAGS) -o $@ $<
 
-libkwallet_plugin_la_SOURCES = keystore/kwallet.cpp keystore/kwallet.hpp keystore/kwallet.moc.cpp
+nodist_libkwallet_plugin_la_SOURCES = keystore/kwallet.moc.cpp
+CLEANFILES += $(nodist_libkwallet_plugin_la_SOURCES)
+libkwallet_plugin_la_SOURCES = keystore/kwallet.cpp keystore/kwallet.hpp
 libkwallet_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
 libkwallet_plugin_la_CXXFLAGS = $(KWALLET_CXXFLAGS)
 libkwallet_plugin_la_LIBADD = $(KWALLET_LIBS)
-- 
1.7.9.2



More information about the vlc-devel mailing list