From 353338219ff5e76f2122c7367fdafbe5e6b5d8ab Mon Sep 17 00:00:00 2001
From: Elie Roux <elie.roux@telecom-bretagne.eu>
Date: Mon, 6 May 2013 14:53:44 +0200
Subject: Updating Makefile

font-age.lua is now included in the .tdz.zip, latexmk works with
my (old) version.
---
 Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index 2d165c5..467891d 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
 NAME         = luaotfload
 DOC          = $(NAME).pdf
 DTX          = $(NAME).dtx
-OTFL         = $(wildcard luaotfload-*.lua) luaotfload-blacklist.cnf
+OTFL         = $(wildcard luaotfload-*.lua) luaotfload-blacklist.cnf $(GLYPHS)
 SCRIPT       = luaotfload-tool.lua
 
 GLYPHSCRIPT  = mkglyphlist
@@ -18,7 +18,7 @@ GLYPHS      = font-age.lua
 GRAPHED     = $(DOTPDF)
 COMPILED    = $(DOC)
 UNPACKED    = luaotfload.sty luaotfload.lua
-GENERATED   = $(GRAPHED) $(COMPILED) $(UNPACKED) $(GLYPHS)
+GENERATED   = $(GRAPHED) $(UNPACKED) $(COMPILED) $(GLYPHS)
 SOURCE 		= $(DTX) $(OTFL) README Makefile NEWS $(SCRIPT) $(GLYPHSCRIPT)
 
 # test files
@@ -49,8 +49,9 @@ CTAN_ZIP = $(NAME).zip
 TDS_ZIP  = $(NAME).tds.zip
 ZIPS 	 = $(CTAN_ZIP) $(TDS_ZIP)
 
-DO_TEX 			= tex --interaction=batchmode $< >/dev/null
-DO_LATEX 		= latexmk -pdf -pdflatex=lualatex -silent $< >/dev/null
+DO_TEX 		  	= tex --interaction=batchmode $< >/dev/null
+# (with the next version of latexmk: -pdf -pdflatex=lualatex)
+DO_LATEX 	  	= latexmk -pdf -e '$$pdflatex = q(lualatex %O %S)' -silent $< >/dev/null
 DO_GRAPHVIZ 	= dot -Tpdf -o $@ $< > /dev/null
 DO_GLYPHLIST 	= texlua ./mkglyphlist > /dev/null
 
-- 
cgit v1.2.3