summaryrefslogtreecommitdiff
path: root/Build/source/texk/lcdf-typetools/Makefile.am.orig
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/lcdf-typetools/Makefile.am.orig')
-rw-r--r--Build/source/texk/lcdf-typetools/Makefile.am.orig7
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/texk/lcdf-typetools/Makefile.am.orig b/Build/source/texk/lcdf-typetools/Makefile.am.orig
index 8f31ca92058..1e0dd8d9cd7 100644
--- a/Build/source/texk/lcdf-typetools/Makefile.am.orig
+++ b/Build/source/texk/lcdf-typetools/Makefile.am.orig
@@ -60,6 +60,7 @@ EXTRA_DIST = \
include/efont/ttfkern.hh \
glyphlist.txt \
texglyphlist.txt \
+ texglyphlist-g2u.txt \
7t.enc
liblcdf libefont:
@@ -73,4 +74,10 @@ versionize:
perl -pi -e 's/^(\U$(PACKAGE)\E) [\d.ab]+$$/$$1 $(VERSION)/;' $(top_srcdir)/README
perl -pi -e 's/^Version: [\d.ab]+$$/Version: $(VERSION)/;' $(top_srcdir)/lcdf-typetools.spec
+dist-hook:
+ if test -f $(top_srcdir)/make-glyphtounicode.pl; then (cd $(top_srcdir); perl make-glyphtounicode.pl) > $(distdir)/glyphtounicode.tex; elif test -f $(top_srcdir)/glyphtounicode.tex; then cp $(top_srcdir)/glyphtounicode.tex $(distdir); fi
+
+$(top_srcdir)/glyphtounicode.tex: $(top_srcdir)/glyphlist.txt $(top_srcdir)/texglyphlist.txt $(top_srcdir)/texglyphlist-g2u.txt $(top_srcdir)/make-glyphtounicode.pl
+ cd $(top_srcdir); perl make-glyphtounicode.pl > glyphtounicode.tex
+
.PHONY: rpm liblcdf libefont cfftot1 mmafm mmpfb otfinfo otftotfm t1dotlessj t1lint t1rawafm t1reencode t1testpage ttftotype42