Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
doc/po/Makefile: build only fully-translated manual pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilk committed Sep 27, 2015
1 parent 2f5343f commit 22a6b2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion doc/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pdf2djvu (0.9) UNRELEASED; urgency=low
* Improve error handling.
* Improve the test suite.
* Update the Polish translation.
* Disable building the Ukrainian manual page, which is not fully translated.

[ Américo Monteiro ]
* Update the Portuguese translation.
Expand All @@ -34,7 +35,7 @@ pdf2djvu (0.9) UNRELEASED; urgency=low
[ Kyrill Detinov ]
* Update the Russian translation.

-- Jakub Wilk <[email protected]> Sun, 27 Sep 2015 13:34:32 +0200
-- Jakub Wilk <[email protected]> Sun, 27 Sep 2015 17:21:49 +0200

pdf2djvu (0.8.2) unstable; urgency=low

Expand Down
4 changes: 2 additions & 2 deletions doc/po/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ man_files = $(addsuffix .1,$(addprefix pdf2djvu.,$(langs)))
all: $(man_files)

pdf2djvu.%.1: %.xml
$(srcdir)/tools/build-manpage --lang $(<) $(@)
! [ -s $(<) ] || $(srcdir)/tools/build-manpage --lang $(<) $(@)

.PHONY: xml
xml: $(xml_files)
Expand All @@ -66,7 +66,7 @@ $(po_files): %.po: $(source)
touch $(@)

%.xml: %.po
$(po4a-translate) -m $(source) -p $(<) -l $(@)
$(po4a-translate) -k 100 -m $(source) -p $(<) -l $(@)

.PHONY: check
check: $(po_files)
Expand Down

0 comments on commit 22a6b2d

Please sign in to comment.