summaryrefslogtreecommitdiff
path: root/ir
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-05-29 21:26:04 -0300
committerWerner Almesberger <werner@almesberger.net>2016-05-29 21:26:28 -0300
commit2bb5197a4c771dcf0ad03373abec817eec071fd8 (patch)
treee0964b750f0620f8d8686dd20bdb3d8c4873afe4 /ir
parent156c165154862f7991de23ff136d2e39de4c4a9e (diff)
downloadmisc-2bb5197a4c771dcf0ad03373abec817eec071fd8.tar.gz
misc-2bb5197a4c771dcf0ad03373abec817eec071fd8.tar.bz2
misc-2bb5197a4c771dcf0ad03373abec817eec071fd8.zip
ir/Makefile: parametrize document name
... matching structure of the other Makefiles used for document creation.
Diffstat (limited to 'ir')
-rw-r--r--ir/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/ir/Makefile b/ir/Makefile
index 91d7304..4d792ce 100644
--- a/ir/Makefile
+++ b/ir/Makefile
@@ -3,8 +3,10 @@ FIGS = sys filter cir irda uart window chamber rx
.PHONY: all clean
.SUFFIXES: .fig .pdf
-all: ir.tex $(FIGS:%=%.pdf)
- pdflatex ir
+NAME = ir
+
+all: $(NAME).tex $(FIGS:%=%.pdf)
+ pdflatex $(NAME)
.fig.pdf:
fig2dev -L pdf $< $@