summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/timing-diagrams/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-08-21 22:11:46 +0000
committerKarl Berry <karl@freefriends.org>2013-08-21 22:11:46 +0000
commit0242d8487d77244b7c27ab708bc73bedc35b7eaf (patch)
tree75fbf55fd98a4a5ce1e6fc7b93e9824cfd0efc44 /Master/texmf-dist/doc/latex/timing-diagrams/Makefile
parente30b17ab0c40c8e58037477a101916be167fa216 (diff)
timing-diagrams (21aug13)
git-svn-id: svn://tug.org/texlive/trunk@31491 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/timing-diagrams/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/timing-diagrams/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/timing-diagrams/Makefile b/Master/texmf-dist/doc/latex/timing-diagrams/Makefile
new file mode 100644
index 00000000000..656b8e1ead9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/timing-diagrams/Makefile
@@ -0,0 +1,18 @@
+NAME=timing-diagrams
+
+all: diagrams-examples.pdf $(NAME).zip
+
+version.txt: force
+ @echo "$(NAME) version $$(git rev-parse HEAD).\n\
+Commited on $$(git show -s HEAD --pretty=format:'%cd')." > $@
+
+diagrams-examples.pdf: diagrams-examples.tex timing-diagrams.sty
+ pdflatex -interaction nonstopmode diagrams-examples.tex
+
+FILES=diagrams-examples.pdf diagrams-examples.tex timing-diagrams.sty README Makefile
+
+$(NAME).zip: version.txt $(FILES)
+ cd .. && zip $@ $(NAME)/version.txt $(FILES:%=$(NAME)/%) && mv $(NAME).zip $(NAME)/
+
+force:
+.PHONY: all force