From f69513397ac0e1f02c6b4a5f50588d411413271a Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 7 Jan 2022 03:01:08 +0000 Subject: CTAN sync 202201070301 --- support/TeX4ht/source/Makefile | 45 +++++++++++++++++++++++++++++++----------- 1 file changed, 33 insertions(+), 12 deletions(-) (limited to 'support/TeX4ht/source/Makefile') diff --git a/support/TeX4ht/source/Makefile b/support/TeX4ht/source/Makefile index 8c81e9990f..9eeac4bbf9 100644 --- a/support/TeX4ht/source/Makefile +++ b/support/TeX4ht/source/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile 936 2021-05-16 16:21:01Z karl $ +# $Id: Makefile 1039 2021-12-25 21:56:53Z karl $ # This file is public domain. Originally written 2010, Karl Berry. # Assumes GNU make. @@ -106,7 +106,7 @@ tex4ht_4ht_derived = \ fontspec.4ht fontspec-4ht.lua fontspec-luatex.4ht fontspec-xetex.4ht \ footmisc.4ht framed.4ht frenchb.4ht floatpag.4ht \ geometry.4ht graphics.4ht graphicx.4ht \ - hyperref.4ht \ + hyperref.4ht hyperxmp.4ht \ imakeidx.4ht \ jurabib.4ht \ latex.4ht lettrine.4ht listings.4ht longtable.4ht \ @@ -193,8 +193,8 @@ tex4ht_fonts_modern_derived = \ derived += $(tex4ht_fonts_ebgaramond_derived) tex4ht_fonts_ebgaramond_derived = \ - $(ht_fonts_devdir)/unicode/EB_Garamond/EBGaramond-Regular-lf-swash-t1.htf \ - $(ht_fonts_devdir)/alias/EB_Garamond/EBGaramond-Bold-lf-titling-t1.htf + $(ht_fonts_devdir)/unicode/EB_Garamond_Regular/EBGaramond-Regular-lf-t1.htf \ + $(ht_fonts_devdir)/alias/EB_Garamond_Bold/EBGaramond-Bold-osf-t1.htf derived += $(tex4ht_fonts_libertine_derived) tex4ht_fonts_libertine_derived = \ @@ -211,6 +211,11 @@ tex4ht_fonts_fourier_derived = \ derived += $(tex4ht_fonts_spectral_derived) tex4ht_fonts_spectral_derived = \ $(ht_fonts_devdir)/unicode/Spectral/Spectral-Regular-lf-sc-ly1.htf + +derived += $(tex4ht_fonts_kpfonts_derived) +tex4ht_fonts_kpfonts_derived = \ + $(ht_fonts_devdir)/unicode/Kp-Light-M-Syd/jkplsyd.htf + # xx and many more # whither tmp? how change target dir? what happened to cmtex.htf? etc. @@ -241,7 +246,7 @@ tex4ht_html32_derived = html32.4ht html32-math.4ht derived += $(tex4ht_html4_derived) tex4ht_html4_derived = \ - html4.4ht html4-math.4ht html4-uni.4ht \ + html4.4ht html4-math.4ht \ html4-l2-url.4ht html4-russian-accents.4ht \ onmouseover.4ht exerqz.4ht @@ -426,6 +431,9 @@ $(tex4ht_fonts_fourier_derived): tex4ht-fonts-fourier.tex $(tex4ht_fonts_spectral_derived): tex4ht-fonts-spectral.tex $(HTTEX) $< "" +$(tex4ht_fonts_kpfonts_derived): tex4ht-fonts-kpfonts.tex + $(HTTEX) $< "" + # requires more memory than configured in other tex programs. $(tex4ht_fonts_4hf): tex4ht-fonts-4hf.tex dvilualatex $< @@ -710,6 +718,7 @@ install_data = cp -p # Perl scripts (mk4ht) at present. # diff-scripts: + @echo; echo '>>> $@' for f in *.unix; do \ inst_f=$(inst_dir_scripts)/`basename $$f .unix`.sh; \ test -r $$inst_f || continue; \ @@ -717,6 +726,7 @@ diff-scripts: # Diff from installed to dev, but install from dev to installed. install-scripts: + @echo; echo '>>> $@' for f in *.unix; do \ inst_f=$(inst_dir_scripts)/`basename $$f .unix`.sh; \ test -r $$inst_f || continue; \ @@ -764,9 +774,12 @@ install-htfonts-tmp: diff-htfonts: # put the raw diff in /tmp/htd: -$(diff) -r $(ht_fonts_instdir) $(ht_fonts_devdir) >/tmp/htd -# just the filenames in htf: - sed -n 's,^diff.*ht-fonts/,,p' /tmp/htd |sort >/tmp/htf -# new files in htnew: +# just the changed filenames in /tmp/htf; but this includes date changes, +# so will have lots of false matches. must fixx ... +# also we don't ever remove $(ht_fonts_instdir), so old stuff stays +# around; must fixx again. + sed -n 's,^diff.*ht-fonts/,,p' /tmp/htd | sort >/tmp/htf +# and new filenames in /tmp/htnew: sed -n -e 's,^Only in.*ht-fonts/,,' \ -e 's,: ,/,p' /tmp/htd >/tmp/htnew # for human consumption, remove generation lines (hopefully there are no @@ -786,9 +799,11 @@ diff-htfonts: # The diff-scripts output is usually empty, so we can run that; # but diff-htfonts is too verbose to run every time. diff-all: diff-scripts #diff-htfonts + @echo; echo '>>> $@' -for f in $(inst_dir_4ht)/*; do $(diff) $$f .; done \ | tee /tmp/u | egrep -v '^ *[-+]%|^@@ |^- *$$|-1.version' \ - | egrep -v '^..ifx.infoIVht.UnDeF.*//$$' + | egrep -v '^..ifx.infoIVht.UnDeF.*//$$' \ + | egrep -v '^--- ' # For checking the derived files that are explicitly listed above # against installed (in TL) files. This is a small subset of all the @@ -797,6 +812,7 @@ diff_files = $(filter-out %.htf %.4hf tex4ht.env% %.c lm-htf.tex \ mk4ht.perl ht.unix ht.bat,\ $(derived)) diff-derived: + @echo; echo '>>> $@' -for f in $(diff_files); do $(diff) $(inst_dir_4ht)/$$f .; done \ | tee /tmp/u | egrep -v '^ *[-+]%|^@@ |^- *$$|-1.version' \ | egrep -v '^..ifx.infoIVht.UnDeF.*//$$' @@ -804,7 +820,7 @@ diff-derived: # Check that anything with a \version of this year # also has a copyright of this year. inst-check-copyright: - @echo '>>> $@' + @echo; echo '>>> $@' -cd $(inst_dir_4ht) && for f in *; do \ if grep "version.*`date +%Y`" $$f >/dev/null; then \ grep "Copyright.*`date +%Y`" $$f >/dev/null || echo $$f; fi; done @@ -812,14 +828,14 @@ inst-check-copyright: # Check that all *.4ht in dev are installed. Other file types are # difficult, but all 4ht's should be present, except mktex4ht.4ht. inst-check-files: - @echo '>>> $@' + @echo; echo '>>> $@' cd $(inst_dir_4ht) && ls -1 *.4ht >/tmp/instlist ls -1 *.4ht | fgrep -v mktex4ht.4ht >/tmp/devlist comm -3 /tmp/devlist /tmp/instlist # Check for missing version identifications. inst-check-version: - @echo '>>> $@' + @echo; echo '>>> $@' -cd $(inst_dir_4ht) && for f in *; do \ grep 'write-1.*version' $$f >/dev/null || echo $$f; done @@ -832,6 +848,11 @@ diff1 d1: diff = diff -u0 --ignore-all-space --ignore-blank-lines \ --ignore-matching-lines='write-1.version\|, generated from\|Copyright' +# run weekly by karl. +croncheck: diff-all \ + inst-check-copyright inst-check-files inst-check-version \ + diff-htfonts + # final simple abbrev for convenience. upmake upm: svn update && make -- cgit v1.2.3