summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/listlbls/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-05-25 20:37:24 +0000
committerKarl Berry <karl@freefriends.org>2023-05-25 20:37:24 +0000
commit99ca1c9e484208d10d4172dfcbcc1ba2dc79d781 (patch)
tree0da7c9f9ac16c9ad14634c9b16febf9260403ffb /Master/texmf-dist/doc/latex/listlbls/Makefile
parentad6578d6856afa22343b993c4450655a7b11505a (diff)
listlbls (25may23)
git-svn-id: svn://tug.org/texlive/trunk@67215 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/listlbls/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/listlbls/Makefile48
1 files changed, 0 insertions, 48 deletions
diff --git a/Master/texmf-dist/doc/latex/listlbls/Makefile b/Master/texmf-dist/doc/latex/listlbls/Makefile
deleted file mode 100644
index 20ecc6f4686..00000000000
--- a/Master/texmf-dist/doc/latex/listlbls/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-NAME = listlbls
-SHELL = bash
-PWD = $(shell pwd)
-TEMP := $(shell mktemp -d)
-TDIR = $(TEMP)/$(NAME)
-VERS = $(shell ltxfileinfo -v $(NAME).dtx)
-LOCAL = $(shell kpsewhich --var-value TEXMFLOCAL)
-UTREE = $(shell kpsewhich --var-value TEXMFHOME)
-
-all: $(NAME).pdf README.md README clean
-
-README: README.txt
- cp README.txt README
-
-README.txt: $(NAME).pdf
-
-README.md: $(NAME).pdf
-
-$(NAME).pdf: $(NAME).dtx
- xelatex -shell-escape -recorder -interaction=batchmode $(NAME).dtx >/dev/null
- if [ -f $(NAME).glo ]; then makeindex -q -s gglo.ist -o $(NAME).gls $(NAME).glo; fi
- if [ -f $(NAME).idx ]; then makeindex -q -s gind.ist -o $(NAME).ind $(NAME).idx; fi
- xelatex -shell-escape -recorder -interaction=nonstopmode $(NAME).dtx > /dev/null
- xelatex -shell-escape -recorder -interaction=nonstopmode $(NAME).dtx > /dev/null
-
-clean:
- rm -f *.fls
- rm -f $(NAME).{aux,toc,fls,glo,gls,hd,idx,ilg,ind,ins,log,out}
-
-distclean: clean
- rm -f $(NAME).{pdf,sty} README{,.{md,txt}}
-
-inst: all
- mkdir -p $(UTREE)/{tex,source,doc}/latex/$(NAME)
- cp $(NAME).dtx $(UTREE)/source/latex/$(NAME)
- cp $(NAME).sty $(UTREE)/tex/latex/$(NAME)
- cp $(NAME).pdf $(UTREE)/doc/latex/$(NAME)
-
-install: all
- sudo mkdir -p $(LOCAL)/{tex,source,doc}/latex/$(NAME)
- sudo cp $(NAME).dtx $(LOCAL)/source/latex/$(NAME)
- sudo cp $(NAME).sty $(LOCAL)/tex/latex/$(NAME)
- sudo cp $(NAME).pdf $(LOCAL)/doc/latex/$(NAME)
-
-zip: all
- mkdir $(TDIR)
- cp $(NAME).{pdf,dtx} Makefile README $(TDIR)
- cd $(TEMP); zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)