4 -rm -f examples.
tex examples.log examples.aux examples.
dvi *.eps
*/*.eps
*.pdf
*/*.pdf
*.png
*/*.png
13 files
= $(foreach item
, $(shell grep
-v
/ INDEX
), $(item
)) $(foreach item
, $(shell grep
/ INDEX
), $(addprefix $(item
), $(shell cat
$(item
)INDEX
)))
14 pyfiles
= $(addsuffix .py
, $(files
))
15 epsfiles
= $(addsuffix .eps
, $(files
))
16 pngfiles
= $(addsuffix .png
, $(files
))
20 examples.
dvi: examples.py
$(epsfiles
)
21 python examples.py
$(basename $(pyfiles
))
27 cd
$(dir $^
); PYTHONPATH
=$(CURDIR
)/.. python
$(notdir $^
)
30 python ..
/contrib
/epstopng.py
-o
$@
$^