blob: 1da8e9d1755e39cc936bd6a475b3fd6f431f10e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
imgs := $(shell ls jpgs)
make.pdf : make.tex
pdftex make.tex
make.tex : make.pre.tex
cp make.pre.tex make.tex;
for img in $(imgs);\
do echo "\img{jpgs/$$img}{$$(stat hires/$$img\
| awk '/Mod/ {a=substr($$0, 9, length($$0)-24); split(a, b); split(b[2], c, ":"); print b[1] "\\\\par" c[1] + 4 ":" c[2] ":" c[3];}')}" >> make.tex; done;
echo "\\\\bye" >> make.tex
.PHONY : clean
clean :
rm -f make.tex make.pdf
|