Author: uwe Date: 2009-05-12 16:24:25 +0200 (Tue, 12 May 2009) New Revision: 4275
Modified: trunk/coreboot-v2/documentation/Makefile Log: There's no 'svg2pdf' in Debian AFAICT, probably the same problem on other systems too. So, check for svg2pdf, convert, and inkscape and use the first one that is found to convert the SVG files to PDF. Signed-off-by: Uwe Hermann <[email protected]> Acked-by: Uwe Hermann <[email protected]> Modified: trunk/coreboot-v2/documentation/Makefile =================================================================== --- trunk/coreboot-v2/documentation/Makefile 2009-05-12 14:14:54 UTC (rev 4274) +++ trunk/coreboot-v2/documentation/Makefile 2009-05-12 14:24:25 UTC (rev 4275) @@ -9,12 +9,27 @@ 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. @@ -30,4 +45,3 @@ distclean: clean rm -f LinuxBIOS-AMD64.pdf - -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

