Followup on previous commit to drop qt-messages.pot file.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/48/head
Michele Calgaro 5 years ago
parent 2e055ab5ed
commit 952fb56241
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -56,14 +56,13 @@ messages:
echo ./tdecore/tde-config.cpp.in >> files ;\
$(EXTRACTRC) `find $$dirs -maxdepth 1 \( -name "*.rc" -o -name "*.ui" \) ` ./dnssd/kcm_tdednssd.kcfg > rc.cpp; \
: > tde.pot ;\
$(XGETTEXT) -ktranslate -x qt-messages.pot rc.cpp `cat files` && cat messages.po qt-messages.pot > $(podir)/tdelibs.pot
$(XGETTEXT) common_texts.cpp -o tde.pot
rm -f dirs
EXTRA_DIST = admin tde.pot \
COMPILING COMPILING.html COPYING.BSD DEBUG \
KDE2PORTING.html NAMING common_texts.cpp tdelibs.lsm kdoc.rules \
qt-messages.pot configure.in.in configure.in.mid configure.in.bot
configure.in.in configure.in.mid configure.in.bot
MAINTAINERCLEANFILES = configure.files subdirs
@ -77,20 +76,6 @@ kdedoc:
cd $(top_srcdir) && \
makekdedoc -p'--skip-internal' --outputdir=$(top_builddir)/srcdoc
qtmessages:
if test x$(top_srcdir) = x; then top_srcdir=. ; else top_srcdir=$(top_srcdir); fi ;\
cd $$top_srcdir/../qt-copy/src ;\
sed -e "s,#define,," xml/qxml.cpp > qxml_clean.cpp ;\
find . -name "*.cpp" | grep -v moc_ > list ;\
for file in qfiledialog qcolordialog qprintdialog \
qurloperator qftp qhttp qlocal qerrormessage; do \
grep -v $$file list > list.new && mv list.new list ;\
done ;\
xgettext -C -ktr -kQT_TRANSLATE_NOOP `cat list` ;\
cd ../../tdelibs ;\
mv $$top_srcdir/../qt-copy/src/messages.po $$top_srcdir
echo "remove the header from messages.po and move to qt-messages.pot"
include admin/Doxyfile.am
include admin/deps.am
@ -113,4 +98,4 @@ install-apidox-tdelibs:
$(INSTALL_DATA) $(top_builddir)/apidocs/qt/qt.tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/qt; \
fi
.PHONY: install-apidox-tdelibs apidox-am-toplevel-tdelibs apidox-am-toplevel-yes qtmessages
.PHONY: install-apidox-tdelibs apidox-am-toplevel-tdelibs apidox-am-toplevel-yes

Loading…
Cancel
Save