summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/tikz-imagelabels/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/tikz-imagelabels/Makefile')
-rw-r--r--Master/texmf-dist/source/latex/tikz-imagelabels/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/tikz-imagelabels/Makefile b/Master/texmf-dist/source/latex/tikz-imagelabels/Makefile
new file mode 100644
index 00000000000..f7eae370cce
--- /dev/null
+++ b/Master/texmf-dist/source/latex/tikz-imagelabels/Makefile
@@ -0,0 +1,17 @@
+SUBDIRS := $(sort $(dir $(wildcard samples/*/*)))
+NAME = tikz-imagelabels
+
+.PHONY: all $(SUBDIRS) clean
+
+all: $(SUBDIRS)
+ latex $(NAME).ins
+ pdflatex --interaction=nonstopmode $(NAME).dtx
+ pdflatex --interaction=nonstopmode $(NAME).dtx
+ makeindex -s gglo.ist -o $(NAME).gls $(NAME).glo
+ pdflatex --interaction=nonstopmode $(NAME).dtx
+ pdflatex --interaction=nonstopmode $(NAME).dtx
+
+$(SUBDIRS): ; $(MAKE) -C $@ $(MAKECMDGOALS)
+
+clean: $(SUBDIRS)
+ --@rm -rf *.aux *.glo *.gls *.ilg *.log *.out *.toc