documentation/images/Makefile
author Gavin Lambert <gavinl@compacsort.com>
Tue, 14 Apr 2015 09:33:24 -0400
changeset 2618 3affe9cd0b66
parent 1771 7183fe5f27fa
permissions -rw-r--r--
Ignore NXIO error otherwise this causes spam if network is empty or refclk not
selected yet, and syncing refclk time to master.
#-----------------------------------------------------------------------------
#
# $Id$
#
#-----------------------------------------------------------------------------

FIGS := \
	app-config.fig \
	attach.fig \
	dc.fig \
	fmmus.fig \
	fsm-coedown.fig \
	fsm-eoe.fig \
	interrupt.fig \
	master-locks.fig \
	masters.fig \
	phases.fig \
	statetrans.fig

FIGPDFS = $(FIGS:.fig=.pdf)

SVGS := \
	architecture.svg

SVGPDFS = $(SVGS:.svg=.pdf)

all: $(FIGPDFS) $(SVGPDFS)

%.pdf: %.fig
	fig2dev -L pdf -z A4 -p xxx -c $< $@	

%.pdf: %.svg
	inkscape --export-pdf=$@ $<

clean:
	@rm -rv $(FIGPDFS) $(SVGPDFS)

#-----------------------------------------------------------------------------