summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/texlive/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-03 15:46:54 +0000
committerKarl Berry <karl@freefriends.org>2021-05-03 15:46:54 +0000
commit0c992a0f4815d15f2b8a1d30a68525a9eed66ddd (patch)
tree6ab490bf478ba5f538277480c2224a7007da0141 /Master/texmf-dist/scripts/texlive/Makefile
parent60712e2174bfaa66828692206c37af9b20d9fc9a (diff)
updmap-user warning, doc tweaks for https
git-svn-id: svn://tug.org/texlive/trunk@59062 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/texlive/Makefile')
-rw-r--r--Master/texmf-dist/scripts/texlive/Makefile27
1 files changed, 24 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/texlive/Makefile b/Master/texmf-dist/scripts/texlive/Makefile
index c784104cc0b..2342ce96a49 100644
--- a/Master/texmf-dist/scripts/texlive/Makefile
+++ b/Master/texmf-dist/scripts/texlive/Makefile
@@ -2,11 +2,32 @@
# Public domain.
test_tlmgr_html = /tmp/tlmgr.html
-live_tlmgr_html = /home/httpd/html/texlive/doc/tlmgr.html
+htmldir = /home/httpd/html/texlive/doc
test-html:
pod2html --cachedir=/tmp tlmgr.pl >$(test_tlmgr_html)
- diff $(live_tlmgr_html) $(test_tlmgr_html)
+ diff $(htmldir)/tlmgr.html $(test_tlmgr_html)
install-html:
- mv $(test_tlmgr_html) $(live_tlmgr_html)
+ mv $(test_tlmgr_html) $(htmldir)/tlmgr.html
+
+# testing.
+uhelp:
+ ./updmap.pl --help
+fhelp:
+ ./fmtutil.pl --help
+
+# remake fmtutil/updmap doc from --help; see Master/tlpkg/doc/releng.txt.
+# assume $W is a TL build tree.
+INSTALL_DATA = cp -p
+man2html = groff -mandoc -Thtml
+#
+man1 = ../../doc/man/man1
+#
+install:
+ $(MAKE) -C $(W)/texk/texlive/tl_support xupdmap.1 xfmtutil.1
+ $(INSTALL_DATA) /tmp/xupdmap.1 $(man1)/updmap.1
+ $(INSTALL_DATA) /tmp/xfmtutil.1 $(man1)/fmtutil.1
+ $(man2html) $(man1)/updmap.1 >$(htmldir)/updmap.html
+ $(man2html) $(man1)/fmtutil.1 >$(htmldir)/fmtutil.html
+ $(MAKE) -C $(man1)/..