As kpdf has a .rc file, rc.cpp needs to be used for the "messages" target

(Also do not delete rc.cpp, as it is part of the target dependencies.)

svn path=/trunk/kdegraphics/kpdf/; revision=376119
This commit is contained in:
Nicolas Goutte 2005-01-07 15:29:39 +00:00
parent 1051d4b909
commit 39c7d814f9

View file

@ -4,10 +4,9 @@ INCLUDES = -I$(srcdir)/xpdf -I$(srcdir)/xpdf/goo -I$(top_builddir)/kpdf $(all_in
METASOURCES = AUTO
messages:
$(EXTRACTRC) `find . -name "*.rc" -o -name "*.ui"` > rc.cpp
messages: rc.cpp
$(EXTRACTRC) `find . -name "*.rc" -o -name "*.ui"` >> rc.cpp
$(XGETTEXT) `find . -name "*.cpp" -o -name "*.cc" -o -name "*.h"` -o $(podir)/kpdf.pot
rm -f rc.cpp
KDE_ICON = kpdf