summaryrefslogtreecommitdiffstats
path: root/src/modules/theme/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/theme/Makefile.am')
-rw-r--r--src/modules/theme/Makefile.am14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/modules/theme/Makefile.am b/src/modules/theme/Makefile.am
index 079c436b..1ba74a09 100644
--- a/src/modules/theme/Makefile.am
+++ b/src/modules/theme/Makefile.am
@@ -15,10 +15,6 @@ libkvitheme_la_SOURCES = libkvitheme.cpp \
savethemedialog.cpp \
themefunctions.cpp
-nodist_libkvitheme_la_SOURCES = moc_managementdialog.cpp \
- moc_packthemedialog.cpp \
- moc_savethemedialog.cpp
-
libkvitheme_la_LIBADD = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
noinst_HEADERS= managementdialog.h \
@@ -26,11 +22,9 @@ noinst_HEADERS= managementdialog.h \
savethemedialog.h \
themefunctions.h
-moc_managementdialog.cpp: managementdialog.h
+%.moc: %.h
$(SS_QT_MOC) $< -o $@
-moc_packthemedialog.cpp: packthemedialog.h
- $(SS_QT_MOC) $< -o $@
-
-moc_savethemedialog.cpp: savethemedialog.h
- $(SS_QT_MOC) $< -o $@
+managementdialog.cpp: managementdialog.moc
+packthemedialog.cpp: packthemedialog.moc
+savethemedialog.cpp: savethemedialog.moc