summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/man/man1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/man/man1/Makefile')
-rw-r--r--Master/texmf-dist/doc/man/man1/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/man/man1/Makefile b/Master/texmf-dist/doc/man/man1/Makefile
index e8c32bbf205..c6761641213 100644
--- a/Master/texmf-dist/doc/man/man1/Makefile
+++ b/Master/texmf-dist/doc/man/man1/Makefile
@@ -18,10 +18,13 @@ clean:
# Special case for mendex.1, which contains multi-byte characters.
# leave it for Japanese maintainers
-
man1/mendex.man1.pdf: man1/mendex.1
@echo 'Skipping mendex.1, leaving it to texjp.'
+# Special case for findhyph, which uses UTF-8. Maybe there are more?
+man1/findhyph.man1.pdf: man1/findhyph.1
+ $(GROFF) -K utf8 $(PDFOPTS) $< | $(PSPDF) - $@.tmp && mv $@.tmp $@ || rm $@.tmp
+
#
# See ../Makefile for the so.rules target which generates this list of rules.