]> git.lyx.org Git - lyx.git/blobdiff - po/Makefile.in.in
revert
[lyx.git] / po / Makefile.in.in
index 6e414efdbd4f40b6a293b9d936418f1f6af05d96..5fee5f919e17450551c5128c6fe8b12934d3034e 100644 (file)
@@ -63,7 +63,7 @@ CATALOGS = @CATALOGS@
        $(COMPILE) $<
 
 .po.pox:
-       $(MAKE) $(PACKAGE).pot
+       $(MAKE) $(srcdir)/$(PACKAGE).pot
        $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox
 
 .po.mo:
@@ -86,9 +86,9 @@ all-no:
 # otherwise packages like GCC can not be built if only parts of the source
 # have been downloaded.
 
-$(srcdir)/$(PACKAGE).pot: $(POTFILES) $(srcdir)/POTFILES.in
+$(srcdir)/$(PACKAGE).pot: $(POTFILES) $(srcdir)/POTFILES.in $(top_srcdir)/src/ext_l10n.h
        $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
-         --add-comments --keyword=_ --keyword=N_ \
+         --escape --add-comments --keyword=_ --keyword=N_ \
          --files-from=$(srcdir)/POTFILES.in \
        && test ! -f $(PACKAGE).po \
           || ( rm -f $(srcdir)/$(PACKAGE).pot \
@@ -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 \