diff options
Diffstat (limited to 'man/po4a/Makefile.in')
-rw-r--r-- | man/po4a/Makefile.in | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/man/po4a/Makefile.in b/man/po4a/Makefile.in index 05816e45..85f7f5d0 100644 --- a/man/po4a/Makefile.in +++ b/man/po4a/Makefile.in @@ -1186,13 +1186,12 @@ uninstall-am: @PO4A_TRUE@update-po: @PO4A_TRUE@ $(PO4A) $(PO4A_ARGS) --no-translations $(srcdir)/po4a.cfg +# Ideally we would use: +# $(PO4A) $(PO4A_ARGS) --rm-translations $(srcdir)/po4a.cfg +# ... but that also updates PO/POT files (http://bugs.debian.org/599179). @PO4A_TRUE@clean-local: -@PO4A_TRUE@ set -e; for preserve in $(POFILES) po/man-db-manpages.pot; do \ -@PO4A_TRUE@ cp -a "$$preserve" "$$preserve.safe"; \ -@PO4A_TRUE@ done -@PO4A_TRUE@ $(PO4A) $(PO4A_ARGS) --rm-translations $(srcdir)/po4a.cfg -@PO4A_TRUE@ set -e; for preserve in $(POFILES) po/man-db-manpages.pot; do \ -@PO4A_TRUE@ mv "$$preserve.safe" "$$preserve"; \ +@PO4A_TRUE@ set -e; for po in $$(cat $(top_srcdir)/man/LINGUAS.po4a); do \ +@PO4A_TRUE@ rm -f ../$$po/man*/*.man*; \ @PO4A_TRUE@ done @PO4A_TRUE@po/man-db-manpages.pot: update-po |