summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2010-02-25 23:00:54 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2010-02-25 23:00:54 +0200
commit5c7aa28a7af2a186c1c0cba4a36cdd688c679e15 (patch)
tree817cc0e74133b3c8261affae58b8e0db2749244b
parent4d8424220ca5e9f0ca92b929707c17b16a2d51f4 (diff)
downloadluaotfload-5c7aa28a7af2a186c1c0cba4a36cdd688c679e15.tar.gz
Updating the README and Makefile
-rw-r--r--Makefile17
-rw-r--r--README4
2 files changed, 12 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 092e9fb..03effd8 100644
--- a/Makefile
+++ b/Makefile
@@ -9,12 +9,13 @@ OTFL = $(wildcard otfl-*.lua)
COMPILED = $(DOC)
UNPACKED = luaotfload.sty luaotfload.lua
GENERATED = $(COMPILED) $(UNPACKED)
-SOURCE = $(DTX) $(OTFL) README Makefile News
+SOURCE = $(DTX) $(OTFL) README Makefile News luaotfload-fonts.lua update-luatex-font-database.lua
# Files grouped by installation location
-RUNFILES = $(UNPACKED) $(OTFL)
-DOCFILES = $(DOC) README News
-SRCFILES = $(DTX) Makefile
+SCRIPTFILES = luaotfload-fonts.lua update-luatex-font-database.lua
+RUNFILES = $(UNPACKED) $(OTFL)
+DOCFILES = $(DOC) README News
+SRCFILES = $(DTX) Makefile
# The following definitions should be equivalent
# ALL_FILES = $(RUNFILES) $(DOCFILES) $(SRCFILES)
@@ -22,9 +23,10 @@ ALL_FILES = $(GENERATED) $(SOURCE)
# Installation locations
FORMAT = luatex
-RUNDIR = $(TEXMFROOT)/tex/$(FORMAT)/$(NAME)
-DOCDIR = $(TEXMFROOT)/doc/$(FORMAT)/$(NAME)
-SRCDIR = $(TEXMFROOT)/source/$(FORMAT)/$(NAME)
+SCRIPTDIR = $(TEXMFROOT)/scripts/updateluatexfontdatabase
+RUNDIR = $(TEXMFROOT)/tex/$(FORMAT)/$(NAME)
+DOCDIR = $(TEXMFROOT)/doc/$(FORMAT)/$(NAME)
+SRCDIR = $(TEXMFROOT)/source/$(FORMAT)/$(NAME)
TEXMFROOT = ./texmf
CTAN_ZIP = $(NAME).zip
@@ -57,6 +59,7 @@ $(CTAN_ZIP): $(SOURCE) $(COMPILED) $(TDS_ZIP)
@zip -9 $@ $^ >/dev/null
define run-install
+@mkdir -p $(SCRIPTDIR) && cp $(SCRIPTFILES) $(SCRIPTDIR)
@mkdir -p $(RUNDIR) && cp $(RUNFILES) $(RUNDIR)
@mkdir -p $(DOCDIR) && cp $(DOCFILES) $(DOCDIR)
@mkdir -p $(SRCDIR) && cp $(SRCFILES) $(SRCDIR)
diff --git a/README b/README
index 6ac946c..98ae95c 100644
--- a/README
+++ b/README
@@ -108,8 +108,8 @@ The file luaotfload.dtx and the derived files
luaotfload.sty
luaotfload.lua
-as well as the file luatex-fonts.lua are under the CC0 license. You can find the
-CC0 license full text at
+as well as the files luaotfload-fonts.lua and update-luatex-font-database.lua
+are under the CC0 license. You can find the CC0 license full text at
http://creativecommons.org/publicdomain/zero/1.0/legalcode