keystore: fix distcheck when Qt is not present
authorSean McGovern <gseanmcg@gmail.com>
Wed, 20 Jan 2016 02:36:40 +0000 (21:36 -0500)
committerThomas Guillem <thomas@gllm.fr>
Wed, 20 Jan 2016 08:41:37 +0000 (09:41 +0100)
Qt moc files should always be marked as nodist_

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
modules/keystore/Makefile.am

index 9a73165..d216d64 100644 (file)
@@ -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)