From 80ab69f3c89c4ee576310e073510f286ad0f3b66 Mon Sep 17 00:00:00 2001
From: Philipp Gesang <phg42.2a@gmail.com>
Date: Tue, 23 Apr 2013 14:13:11 +0200
Subject: update documentation with info about ``mkglyphlist``

---
 Makefile       | 4 +++-
 luaotfload.dtx | 7 +++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 003bcfb..4821619 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,9 @@ DOC          = $(NAME).pdf
 DTX          = $(NAME).dtx
 OTFL         = $(wildcard otfl-*.lua) otfl-blacklist.cnf font-age.lua
 SCRIPT       = fontdbutil
+
 GLYPHSCRIPT  = mkglyphlist
+GLYPHSOURCE  = glyphlist.txt
 
 GRAPH  = filegraph
 DOTPDF = $(GRAPH).pdf
@@ -125,5 +127,5 @@ clean:
 	@$(RM) -- *.log *.aux *.toc *.idx *.ind *.ilg *.out $(TESTDIR)/*.log
 
 mrproper: clean
-	@$(RM) -- $(GENERATED) $(ZIPS) $(TESTDIR)/*.pdf
+	@$(RM) -- $(GENERATED) $(ZIPS) $(GLYPHSOURCE) $(TESTDIR)/*.pdf
 
diff --git a/luaotfload.dtx b/luaotfload.dtx
index e78e4b6..dbc822f 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -886,12 +886,15 @@ and the derived files
 %
 % Also, the merged file at some point
 % loads the Adobe Glyph List from a \LUA table that is contained in
-% \fileent{font-age.lua}, which has also been imported unmodified from
-% \CONTEXT.\footnote{%
+% \fileent{font-age.lua}, which is automatically generated by the
+% script \fileent{mkglyphlist}.\footnote{%
 %   See \fileent{luaotfload-font-enc.lua}.
 %   The hard-coded file name is why the file lacks the \fileent{luaotfload-}
 %   prefix.
 % }
+% There is a make target \identifier{glyphs} that will create a fresh
+% \fileent{font-age.lua} so we don’t need to import it from \CONTEXT
+% any longer.
 %
 % In addition to these, \identifier{luaotfload} requires a number of
 % files not contained in the merge. Some of these have no equivalent in
-- 
cgit v1.2.3