X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=po%2FMakefile.in.in;h=e98ff482bd074236f43629beb9a5cd74d2e0c752;hb=dab43e77955e5b21fa556f53143d42e09e439f40;hp=0012e62d9ad75e09ee4054afa2f2b12bb012242d;hpb=271f8d7eec31175f53d012147af164cb27b043ce;p=lyx.git diff --git a/po/Makefile.in.in b/po/Makefile.in.in index 0012e62d9a..e98ff482bd 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -63,7 +63,7 @@ CATALOGS = @CATALOGS@ $(COMPILE) $< .po.pox: - $(MAKE) $(PACKAGE).pot + $(MAKE) $(srcdir)/$(PACKAGE).pot $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox .po.mo: @@ -199,7 +199,6 @@ ${srcdir}/POTFILES.in: $(POTFILE_IN_DEPS) rm -f $@-t \ && ( cd $(top_srcdir); \ grep -l "_(\".*\")" `find src -name \*.[hHC] -print` |\ - grep -v frontends/kde |\ sed -e '/xforms.forms/d' | \ sort -f -n | uniq ) > $@-t \ && echo "src/ext_l10n.h" >> $@-t \ @@ -214,6 +213,8 @@ $(top_srcdir)/src/ext_l10n.h: $(top_srcdir)/lib/layouts/*.layout $(top_srcdir)/l sed -n -e 's/^[sS]tyle[ ]*\([^ ]*\)$$/_("\1");/p' | \ sort | uniq >> $@ sed < $(top_srcdir)/lib/languages -e '/^#/d' -e 's/[^"]*\("[A-Za-z0-9][^"]*"\).*/_(\1);/' >> $@ + cat $(top_srcdir)/src/frontends/qt2/ui/*.ui | grep '..*' | \ + sed 's,&,\&,;s,^.*,_(",;s,,"),;' | uniq >> $@ # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded.