Fix build on gcc4.x+

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1072836 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 15 years ago
parent 2091dfe763
commit 07167c5ccd

@ -138,13 +138,13 @@ METASOURCES = AUTO
umbrello_LDFLAGS = $(all_libraries) $(KDE_RPATH) -export-dynamic
messages: rc.cpp
$(PREPARETIPS) > tips.cpp
$(PREPARETIPS) > tips.txt
$(EXTRACTRC) *.rc codegenerators/*.ui dialogs/*.ui > ./rc.cpp
LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
LIST=`find . -name \*.h -o -name \*.hh -o -name \*.txt -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
if test -n "$$LIST"; then \
$(XGETTEXT) $$LIST -o $(podir)/umbrello.pot; \
fi
rm -f tips.cpp
rm -f tips.txt
version.h: $(top_srcdir)/umbrello/VERSION
printf "#undef UMBRELLO_VERSION\n#define UMBRELLO_VERSION \"`cat $(top_srcdir)/umbrello/VERSION`\"\n" > version.h

Loading…
Cancel
Save