Repair gcc 4.4 compilation errors

gcc 4.x tries to compile ANY .cpp file, including tips.cpp, so we now generate a tips.txt file instead and use that to generate the .po files


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1069698 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 65cf1e63bb
commit c01c2e1f19

@ -2,11 +2,11 @@ SUBDIRS = utils interfaces app data pics
EXTRA_DIST = AUTHORS COPYING.LIB ChangeLog DESIGN NEWS README TODO
messages:
rm -f tips.cpp
(cd data && $(PREPARETIPS) > ../tips.cpp)
rm -f tips.txt
(cd data && $(PREPARETIPS) > ../tips.txt)
$(EXTRACTRC) ./*/*.rc >> ./rc.cpp
$(XGETTEXT) `find . -name "*.cpp"` -o $(podir)/kate.pot
rm -f tips.cpp
$(XGETTEXT) `find . -name "*.cpp" -o -name "*.txt"` -o $(podir)/kate.pot
rm -f tips.txt
include ../admin/Doxyfile.am

@ -20,9 +20,9 @@ install-data-local: uninstall.desktop
$(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_appsdir)/Toys/ktip.desktop
messages:
$(PREPARETIPS) > tips.cpp
$(XGETTEXT) *.cpp -o $(podir)/ktip.pot
rm -f tips.cpp
$(PREPARETIPS) > tips.txt
$(XGETTEXT) *.txt *.cpp -o $(podir)/ktip.pot
rm -f tips.txt
appdata_DATA = tips
appdatadir=$(kde_datadir)/kdewizard

Loading…
Cancel
Save