-FIGS_DOT = \
- doc/figs/example.dot \
- doc/figs/example-reduce.dot doc/figs/example-shift.dot
-EXTRA_DIST += \
- $(FIGS_DOT) \
- $(FIGS_DOT:.dot=.eps) $(FIGS_DOT:.dot=.pdf) $(FIGS_DOT:.dot=.png)
-SUFFIXES += .dot .eps .pdf .png
-
-.dot.eps:
+FIGS_GV = \
+ doc/figs/example.gv \
+ doc/figs/example-reduce.gv doc/figs/example-shift.gv
+EXTRA_DIST += \
+ $(FIGS_GV) $(FIGS_GV:.gv=.txt) \
+ $(FIGS_GV:.gv=.eps) $(FIGS_GV:.gv=.pdf) $(FIGS_GV:.gv=.png)
+SUFFIXES += .gv .eps .pdf .png
+
+.gv.eps: