diff options
Diffstat (limited to 'Master/texmf-dist/doc/lualatex/lualatex-math/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/lualatex/lualatex-math/Makefile | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/lualatex/lualatex-math/Makefile b/Master/texmf-dist/doc/lualatex/lualatex-math/Makefile index 9415d2a148e..14c7e6d37bb 100644 --- a/Master/texmf-dist/doc/lualatex/lualatex-math/Makefile +++ b/Master/texmf-dist/doc/lualatex/lualatex-math/Makefile @@ -41,9 +41,10 @@ driver := $(name).ins dest_sty := $(name).sty dest_lua := $(name).lua destination := $(dest_sty) $(dest_lua) -tests := test-kernel test-amsmath test-unicode +tests := test-kernel-alloc test-kernel-style test-amsmath test-unicode test-icomma test-icomma-unicode tests_src := $(addsuffix .tex, $(tests)) tests_dest := $(addsuffix .pdf, $(tests)) +class := $(shell kpsewhich phst-doc.cls) manual := $(name).pdf auctex_style := $(name).el index_src := $(name).idx @@ -54,8 +55,17 @@ changes_src := $(name).glo changes_dest := $(name).gls changes_log := $(name).glg changes_sty := gglo.ist +tds_arch := $(name).tds.zip +tds_root := texmf-dist +tds_destdir := $(tds_root)/tex/$(branch) +tds_docdir := $(tds_root)/doc/$(branch) +tds_srcdir := $(tds_root)/source/$(branch) +tds_dest := $(addprefix $(tds_destdir)/, $(destination)) +tds_doc := $(addprefix $(tds_docdir)/, $(manual)) +tds_source := $(addprefix $(tds_srcdir)/, $(source) $(driver)) +tds_files := $(tds_dest) $(tds_doc) $(tds_source) ctan_arch := $(name).zip -ctan_files := README MANIFEST Makefile $(source) $(driver) $(destination) $(test_src) $(manual) $(auctex_style) +ctan_files := $(tds_arch) README MANIFEST Makefile $(source) $(driver) $(destination) $(test_src) $(class) $(manual) $(auctex_style) all: $(destination) $(auctex_style) @@ -95,8 +105,15 @@ $(manual): $(source) $(destination) $(LATEX) $(LATEXFLAGS_DRAFT) $< $(LATEX) $(LATEXFLAGS_FINAL) $< +$(tds_destdir)/% $(tds_docdir)/% $(tds_srcdir)/%: % + $(INSTALL) -d $(dir $@) + $(INSTALL_DATA) $< $(dir $@) + +$(tds_arch): $(tds_files) + $(ZIP) -p $@ $^ + $(ctan_arch): $(ctan_files) - $(ZIP) $@ $^ + $(ZIP) -j $@ $^ .PHONY: all check pdf complete ctan install install-pdf install-complete .SUFFIXES: |