diff options
Diffstat (limited to 'Master/texmf-dist/source/fonts/fonts-tlwg/Makefile.in')
-rw-r--r-- | Master/texmf-dist/source/fonts/fonts-tlwg/Makefile.in | 89 |
1 files changed, 88 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/Makefile.in b/Master/texmf-dist/source/fonts/fonts-tlwg/Makefile.in index 59b2e3c5d44..e53c05f1e8d 100644 --- a/Master/texmf-dist/source/fonts/fonts-tlwg/Makefile.in +++ b/Master/texmf-dist/source/fonts/fonts-tlwg/Makefile.in @@ -313,6 +313,24 @@ SUBDIRS = scripts latex nf nectec sipa tlwg fontconfig tests @INCLUDE_LATEX_TRUE@tdsdist_zip = $(LATEX_PACKAGE)-$(VERSION).tds.zip @INCLUDE_LATEX_TRUE@ctandist_zip = $(LATEX_PACKAGE)-$(VERSION).ctan.zip @INCLUDE_LATEX_TRUE@tdsdistdir = $(LATEX_PACKAGE)-$(VERSION)-tds + +# +# Font Binary Tarballs +# +otf_package = otf-tlwg +ttf_package = ttf-tlwg +woff_package = woff-tlwg +otfdist_txz = $(otf_package)-$(VERSION).tar.xz +ttfdist_txz = $(ttf_package)-$(VERSION).tar.xz +woffdist_txz = $(woff_package)-$(VERSION).tar.xz +otfdist_zip = $(otf_package)-$(VERSION).zip +ttfdist_zip = $(ttf_package)-$(VERSION).zip +woffdist_zip = $(woff_package)-$(VERSION).zip +otfdistdir = $(otf_package)-$(VERSION) +ttfdistdir = $(ttf_package)-$(VERSION) +woffdistdir = $(woff_package)-$(VERSION) +fcdistdir = fontconfig-$(VERSION) +workingdir = work all: all-recursive .SUFFIXES: @@ -869,7 +887,76 @@ dist-hook: @INCLUDE_LATEX_TRUE@dist-ctan: dist-ctan-zip -@INCLUDE_LATEX_TRUE@.PHONY: dist-ctan dist-ctan-tgz dist-ctan-zip dist-tds dist-tds-tgz dist-tds-zip inst-tds +.PHONY: dist-tds dist-tds-tgz dist-tds-zip inst-tds +.PHONY: dist-ctan dist-ctan-tgz dist-ctan-zip + +inst-fonts.stamp: + rm -rf $(otfdistdir) $(ttfdistdir) $(woffdistdir) + rm -rf $(fcdistdir) + rm -rf $(workingdir) + mkdir $(workingdir) + confdir=`cd $(top_srcdir) && pwd` \ + abs_otfdistdir=`pwd`/$(otfdistdir) \ + abs_ttfdistdir=`pwd`/$(ttfdistdir) \ + abs_woffdistdir=`pwd`/$(woffdistdir) \ + abs_fcdistdir=`pwd`/$(fcdistdir) \ + && cd $(workingdir) \ + && $$confdir/configure \ + --enable-otf --with-otfdir=$$abs_otfdistdir \ + --enable-ttf --with-ttfdir=$$abs_ttfdistdir \ + --enable-woff --with-woffdir=$$abs_woffdistdir \ + --datadir=$$abs_fcdistdir \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) install + cp -a $(fcdistdir)/* $(otfdistdir) + cp -a $(fcdistdir)/* $(ttfdistdir) + rm -rf $(fcdistdir) + rm -rf $(workingdir) + touch $@ + +dist-otf-txz: inst-fonts.stamp + rm -f $(otfdist_txz) + tar cJf $(otfdist_txz) $(otfdistdir) + md5sum $(otfdist_txz) > $(otfdist_txz).md5sum + +dist-otf-zip: inst-fonts.stamp + rm -f $(otfdist_zip) + zip -r $(otfdist_zip) $(otfdistdir) + md5sum $(otfdist_zip) > $(otfdist_zip).md5sum + +dist-ttf-txz: inst-fonts.stamp + rm -f $(ttfdist_txz) + tar cJf $(ttfdist_txz) $(ttfdistdir) + md5sum $(ttfdist_txz) > $(ttfdist_txz).md5sum + +dist-ttf-zip: inst-fonts.stamp + rm -f $(ttfdist_zip) + zip -r $(ttfdist_zip) $(ttfdistdir) + md5sum $(ttfdist_zip) > $(ttfdist_zip).md5sum + +dist-woff-txz: inst-fonts.stamp + rm -f $(woffdist_txz) + tar cJf $(woffdist_txz) $(woffdistdir) + md5sum $(woffdist_txz) > $(woffdist_txz).md5sum + +dist-woff-zip: inst-fonts.stamp + rm -f $(woffdist_zip) + zip -r $(woffdist_zip) $(woffdistdir) + md5sum $(woffdist_zip) > $(woffdist_zip).md5sum + +dist-fonts-clean: + rm -rf $(otfdistdir) $(ttfdistdir) $(woffdistdir) + rm -f inst-fonts.stamp + +dist-fonts-txz: dist-otf-txz dist-ttf-txz dist-woff-txz + +dist-fonts-zip: dist-otf-zip dist-ttf-zip dist-woff-zip + +dist-fonts: dist-fonts-txz dist-fonts-zip dist-fonts-clean + +.PHONY: dist-fonts-txz dist-otf-txz dist-ttf-txz dist-woff-txz +.PHONY: dist-fonts-zip dist-otf-zip dist-ttf-zip dist-woff-zip +.PHONY: dist-fonts dist-fonts-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. |