diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2015-12-02 07:22:37 +0100 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2015-12-02 07:22:37 +0100 |
commit | 5725506aca4a679e6f85092a25318b425e70d96e (patch) | |
tree | 73be06ba0b3937dd447a775f854350e510c7ff52 | |
parent | 42f2231df8b6636480bf0971fc0672110cf509db (diff) | |
download | luaotfload-5725506aca4a679e6f85092a25318b425e70d96e.tar.gz |
[build] include fontloader source in packages
-rw-r--r-- | Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -6,6 +6,7 @@ DOCSRCDIR = ./doc SCRIPTSRCDIR = ./scripts SRCSRCDIR = ./src FONTLOADERDIR = $(SRCSRCDIR)/fontloader/runtime +FONTLOADERSRCDIR= $(SRCSRCDIR)/fontloader/misc PACKAGEDIR = $(SRCSRCDIR)/fontloader BUILDDIR = ./build MISCDIR = ./misc @@ -34,6 +35,8 @@ CONFNAME = luaotfload.conf GRAPH = filegraph DOCSRC = $(addprefix $(DOCSRCDIR)/$(NAME), -main.tex -latex.tex) +LOADERSRC = $(wildcard $(FONTLOADERSRCDIR)/*.lua) +LOADERSRC += $(wildcard $(FONTLOADERSRCDIR)/*.tex) GRAPHSRC = $(DOCSRCDIR)/$(GRAPH).dot MANSRC = $(DOCSRCDIR)/$(TOOLNAME).rst $(DOCSRCDIR)/$(CONFNAME).rst @@ -51,7 +54,8 @@ CHARS = $(BUILDDIR)/$(NAME)-characters.lua STATUS = $(BUILDDIR)/$(NAME)-status.lua LOADER = $(BUILDDIR)/fontloader-$(shell date +%F).lua RESOURCES = $(GLYPHS) $(CHARS) $(LOADER) $(STATUS) -SOURCE = $(DOCSRC) $(MANSRC) $(SRC) README COPYING Makefile NEWS $(RESOURCESCRIPTS) +SOURCE = $(DOCSRC) $(LOADERSRC) $(MANSRC) +SOURCE += $(SRC) README COPYING Makefile NEWS $(RESOURCESCRIPTS) # Files grouped by installation location SCRIPTSTATUS = $(TOOL) $(RESOURCESCRIPTS) @@ -162,7 +166,7 @@ $(CTAN_ZIP): $(DOCS) $(SOURCE) $(TDS_ZIP) @echo "Making $@ for CTAN upload." @$(RM) -- $@ $(make-ctandir) - cd $(BUILDDIR) && zip -r -9 $(CTAN_ZIPFILE) $(TDS_ZIPFILE) $(NAME) >/dev/null + @cd $(BUILDDIR) && zip -r -9 $(CTAN_ZIPFILE) $(TDS_ZIPFILE) $(NAME) >/dev/null $(CTAN_ZIPSIG): $(CTAN_ZIP) @echo "Signing package $(CTAN_ZIP)" @@ -170,8 +174,8 @@ $(CTAN_ZIPSIG): $(CTAN_ZIP) @gpg --batch --armor --detach-sign "$(CTAN_ZIP)" define run-install-doc -@mkdir -p $(DOCDIR) && cp -- $(DOCSTATUS) $(VGND) $(CONFDEMO) $(DOCDIR) -@mkdir -p $(SRCDIR) && cp -- $(SRCSTATUS) $(SRCDIR) +@mkdir -p $(DOCDIR) && cp -- $(DOCSTATUS) $(VGND) $(CONFDEMO) $(DOCDIR) +@mkdir -p $(SRCDIR) && cp -- $(SRCSTATUS) $(SRCDIR) @mkdir -p $(MAN1DIR) && cp -- $(TOOLMAN) $(MAN1DIR) @mkdir -p $(MAN5DIR) && cp -- $(CONFMAN) $(MAN5DIR) endef @@ -179,6 +183,7 @@ endef define run-install @mkdir -p $(SCRIPTDIR) && cp -- $(SCRIPTSTATUS) $(SCRIPTDIR) @mkdir -p $(RUNDIR) && cp -- $(RESOURCES) $(RUNSTATUS) $(RUNDIR) +@mkdir -p $(SRCDIR) && cp -- $(LOADERSRC) $(SRCDIR) endef $(TDS_ZIP): TEXMFROOT=./tmp-texmf |