summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-06-29 17:58:06 +0200
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-06-29 17:58:06 +0200
commitb4d6143fd3a7f910ca70f29254bcc508206510b9 (patch)
tree8377cd71440dd402558484e22613017065a23f08
parentee06307dd1542bcfbabf83a6d2b60e7580fccc38 (diff)
downloadluaotfload-b4d6143fd3a7f910ca70f29254bcc508206510b9.tar.gz
Rename TEXMF to TEXMFROOT in Makefile.
-rw-r--r--Makefile16
-rw-r--r--README2
2 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 8c37fda..336e136 100644
--- a/Makefile
+++ b/Makefile
@@ -22,10 +22,10 @@ ALL_FILES = $(GENERATED) $(SOURCE)
# Installation locations
FORMAT = luatex
-RUNDIR = $(TEXMF)/tex/$(FORMAT)/$(NAME)
-DOCDIR = $(TEXMF)/doc/$(FORMAT)/$(NAME)
-SRCDIR = $(TEXMF)/source/$(FORMAT)/$(NAME)
-TEXMF = ./texmf
+RUNDIR = $(TEXMFROOT)/tex/$(FORMAT)/$(NAME)
+DOCDIR = $(TEXMFROOT)/doc/$(FORMAT)/$(NAME)
+SRCDIR = $(TEXMFROOT)/source/$(FORMAT)/$(NAME)
+TEXMFROOT = ./texmf
CTAN_ZIP = $(NAME).zip
TDS_ZIP = $(NAME).tds.zip
@@ -62,18 +62,18 @@ define run-install
@mkdir -p $(SRCDIR) && cp $(SRCFILES) $(SRCDIR)
endef
-$(TDS_ZIP): TEXMF=./tmp-texmf
+$(TDS_ZIP): TEXMFROOT=./tmp-texmf
$(TDS_ZIP): $(ALL_FILES)
@echo "Making TDS-ready archive $@."
@$(RM) -- $@
$(run-install)
- @cd $(TEXMF) && zip -9 ../$@ -r . >/dev/null
- @$(RM) -r -- $(TEXMF)
+ @cd $(TEXMFROOT) && zip -9 ../$@ -r . >/dev/null
+ @$(RM) -r -- $(TEXMFROOT)
.PHONY: install manifest clean mrproper
install: $(ALL_FILES)
- @echo "Installing in '$(TEXMF)'."
+ @echo "Installing in '$(TEXMFROOT)'."
$(run-install)
manifest:
diff --git a/README b/README
index 2d04ae3..b341d1b 100644
--- a/README
+++ b/README
@@ -22,7 +22,7 @@ Alternatively, try your (TeX or Linux) distribution's package management system.
distribution's manual for details.
3. a. Grab the sources from CTAN or github.
- b. Run 'make install TEXMF=/path/to/texmf'.
+ b. Run 'make install TEXMFROOT=/path/to/texmf'.
c. See 2c.
4. Try to figure it out by looking at the Makefile and comments in the sources.