all: LinuxBIOS-AMD64.pdf
+SVG2PDF=$(shell which svg2pdf)
+INKSCAPE=$(shell which inkscape)
+CONVERT=$(shell which convert)
codeflow.pdf: codeflow.svg
+ifneq ($(strip $(SVG2PDF)),)
svg2pdf $< $@
+else ifneq ($(strip $(INKSCAPE)),)
+ inkscape $< --export-pdf=$@
+else ifneq ($(strip $(CONVERT)),)
+ convert $< $@
+endif
hypertransport.pdf: hypertransport.svg
+ifneq ($(strip $(SVG2PDF)),)
svg2pdf $< $@
+else ifneq ($(strip $(INKSCAPE)),)
+ inkscape $< --export-pdf=$@
+else ifneq ($(strip $(CONVERT)),)
+ convert $< $@
+endif
LinuxBIOS-AMD64.toc: $(FIGS) LinuxBIOS-AMD64.tex
# 2 times to make sure we have a current toc.
distclean: clean
rm -f LinuxBIOS-AMD64.pdf
-