More compatible formatting with the translator's tool

This commit is contained in:
Moritz Bunkus 2010-06-10 16:16:53 +02:00
parent 11138b533a
commit 5e83590fa7

View File

@ -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))