summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kopete/protocols/jabber/libiris/iris/jabber/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/kopete/protocols/jabber/libiris/iris/jabber/Makefile.am b/kopete/protocols/jabber/libiris/iris/jabber/Makefile.am
index b5ff00ee..7024cdf3 100644
--- a/kopete/protocols/jabber/libiris/iris/jabber/Makefile.am
+++ b/kopete/protocols/jabber/libiris/iris/jabber/Makefile.am
@@ -11,5 +11,9 @@ s5b.lo: s5b.moc
CLEANFILES = s5b.moc
s5b.moc: $(srcdir)/s5b.cpp $(srcdir)/s5b.h
- ${TQTMOC} ${MOC} $(srcdir)/s5b.h > $@
- ${TQTMOC} ${MOC} $(srcdir)/s5b.cpp >> $@
+ ${TQTMOC} ${MOC} $(srcdir)/s5b.h s5b.moc.h
+ ${TQTMOC} ${MOC} $(srcdir)/s5b.cpp s5b.moc.cpp
+ cat s5b.moc.h > $@
+ cat s5b.moc.cpp >> $@
+ rm s5b.moc.h
+ rm s5b.moc.cpp