diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/timing-diagrams/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/latex/timing-diagrams/Makefile | 18 |
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 |