documentation/images/Makefile
author Patrick Bruenn <p.bruenn@beckhoff.com>
Wed, 23 Apr 2014 17:06:15 +0200
branchstable-1.5
changeset 2555 18c226b66533
parent 1771 7183fe5f27fa
permissions -rw-r--r--
replace symlink in example with the real file
#-----------------------------------------------------------------------------
#
# $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)

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