This helps translators find the origin of each entry.
On the other hand, in man/po/ tell msgmerge not to add
file:line.
Signed-off-by: Serge Hallyn <serge@hallyn.com>
Acked-by: Alejandro Colomar <alx@kernel.org>
fi; \
files="$$files $$outbase"; \
done; \
- cd $$tmpdir; itstool -d -o $(DOMAIN).po $$files; \
+ cd $$tmpdir; itstool -d $$files | msgattrib --no-location -o $(DOMAIN).po; \
sed -i '1i \
# To re-generate, run "cd man/po; make update-po"' $$tmpdir/$(DOMAIN).po; \
cd $$origdir; \
top_builddir = ..
# These options get passed to xgettext.
-XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --no-location
+XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding