summaryrefslogtreecommitdiff
path: root/support/findhyph/doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'support/findhyph/doc/Makefile')
-rw-r--r--support/findhyph/doc/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/support/findhyph/doc/Makefile b/support/findhyph/doc/Makefile
new file mode 100644
index 0000000000..70536a4e05
--- /dev/null
+++ b/support/findhyph/doc/Makefile
@@ -0,0 +1,11 @@
+TEX = '\documentclass{article}\usepackage[a4paper, margin=3cm]{geometry}\usepackage{fontspec}\catcode`\ε=\active\defε{$$\varepsilon$$}\begin{document}\input{fh.tex}\end{document}'
+
+doc:
+ pod2man --utf8 -c "" ../findhyph > findhyph.1
+ pod2text ../findhyph > findhyph.txt
+ env echo $(TEX) > findhyph.tex
+ pod2latex -out fh.tex ../findhyph
+ sed -i 's/TeX/\\TeX{}/g' fh.tex
+ xelatex findhyph.tex
+ xelatex findhyph.tex
+ rm fh.tex findhyph.aux findhyph.log findhyph.tex