blob: 656b8e1ead9f7f15dc8390cd3786cc0a369ce389 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|