Some recent versions of Inkscape (0.47 or around) have bug when export file name
is treated as relative against the directory of original .svg if it wasn't specified
as an absolute path. Fix it by always using absolute paths during conversion.
$(DBLATEX) $(DBLATEX_OPTIONS) -I $*/images -t ps -o $@ $<
%.eps: %.svg
- $(INKSCAPE) -z -f $< --export-eps=$@
+ $(INKSCAPE) -z -f $(abspath $<) --export-eps=$(abspath $@)
%.png: %.svg
- $(INKSCAPE) -z -f $< --export-png=$@
+ $(INKSCAPE) -z -f $(abspath $<) --export-png=$(abspath $@)
%.eps: %.png
$(PNGTOPNM) $< | $(PNMTOPS) > $@