From 2fb64506decb94cf4c0e594a4eead9bee82d0c68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20W=C3=B6bbeking?= Date: Mon, 27 Dec 2004 23:30:59 +0000 Subject: [PATCH] workaround for unsermake: add empty generator.cpp which only includes generator.moc CCMAIL: coolo@kde.org obviously automake can handle this. is this a bug or a missing feature in unsermake? svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373626 --- kpdf/Makefile.am | 2 +- kpdf/generator.cpp | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 kpdf/generator.cpp diff --git a/kpdf/Makefile.am b/kpdf/Makefile.am index 46950f441..488e57f3e 100644 --- a/kpdf/Makefile.am +++ b/kpdf/Makefile.am @@ -42,7 +42,7 @@ shellrc_DATA = kpdf_shell.rc kde_module_LTLIBRARIES = libkpdfpart.la # the Part's source, library search path, and link libraries -libkpdfpart_la_SOURCES = pageview.cpp pageviewutils.cpp thumbnaillist.cpp toc.cpp searchwidget.cpp document.cpp page.cpp link.cpp properties.ui propertiesdialog.cpp presentationwidget.cpp QOutputDev.cpp generator_pdf.cpp kpdf_dcop.skel kpdf_error.cpp kpdf_part.cpp +libkpdfpart_la_SOURCES = pageview.cpp pageviewutils.cpp thumbnaillist.cpp toc.cpp searchwidget.cpp document.cpp page.cpp link.cpp properties.ui propertiesdialog.cpp presentationwidget.cpp QOutputDev.cpp generator.cpp generator_pdf.cpp kpdf_dcop.skel kpdf_error.cpp kpdf_part.cpp libkpdfpart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) libkpdfpart_la_LIBADD = ../xpdf/libxpdf.la conf/libconf.la $(LIB_KPARTS) $(LIB_KFILE) $(LIB_KDEPRINT) $(LIB_KUTILS) -lm diff --git a/kpdf/generator.cpp b/kpdf/generator.cpp new file mode 100644 index 000000000..547e52bdc --- /dev/null +++ b/kpdf/generator.cpp @@ -0,0 +1,15 @@ +/*************************************************************************** + * Copyright (C) 2004 by Albert Astals Cid * + * Copyright (C) 2004 by Enrico Ros * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + ***************************************************************************/ + +// local includes +#include "generator.h" + + +#include "generator.moc"