From 5e83590fa721013757fb48d81fafd5b3661c54ff Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 10 Jun 2010 16:16:53 +0200 Subject: [PATCH] More compatible formatting with the translator's tool --- Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.in b/Makefile.in index c37a4e8d8..2138735f2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -330,6 +330,10 @@ translated-manpages: $(MANPAGES_TRANSLATED) update-manpage-po update-man-po: $(PO4A) $(PO4A_FLAGS) doc/man/po4a/po4a.cfg + @for i in nl ; do \ + perl -ni -e 'if (m/^#:/) { s/(\d) /$$1\n#: /g; print; } elsif (m/^#~/) { $$nonl = 1; print; } elsif (!($$nonl && m/^\s*$$/)) { print; }' doc/man/po4a/po/$$i.po ; \ + echo >> doc/man/po4a/po/$$i.po ; \ + done # Some general rules ifeq (1,$(LIBMTXCOMMONDLL))