• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Author: Olaf Meeuwissen
2
3  Add custom options to commands used for generate .po files.  This
4  fixes word wrapping inconsistencies when using a custom width.
5
6  Do NOT put this file below po/ as all Rules-* files are included
7  in the po/Makefile *verbatim*!
8
9--- po/Rules-quot.orig	2019-06-30 13:46:34.281392263 +0900
10+++ po/Rules-quot	2019-06-30 13:49:05.482142027 +0900
11@@ -22,13 +22,13 @@
12 	LC_ALL=C; export LC_ALL; \
13 	cd $(srcdir); \
14 	if $(MSGINIT) $(MSGINIT_OPTIONS) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null \
15-	   | $(SED) -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | \
16+	   | $(SED) -f $$tmpdir/$$lang.insert-header | $(MSGCONV) $(MSGCONV_OPTIONS) -t UTF-8 | \
17 	   { case `$(MSGFILTER) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
18 	     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-8] | 0.1[0-8].*) \
19-	       $(MSGFILTER) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \
20+	       $(MSGFILTER) $(MSGFILTER_OPTIONS) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \
21 	       ;; \
22 	     *) \
23-	       $(MSGFILTER) `echo $$lang | sed -e 's/.*@//'` \
24+	       $(MSGFILTER) $(MSGFILTER_OPTIONS) `echo $$lang | sed -e 's/.*@//'` \
25 	       ;; \
26 	     esac } 2>/dev/null > $$tmpdir/$$lang.new.po \
27 	     ; then \
28