documentation/graphs/Makefile
author Florian Pose <fp@igh-essen.com>
Wed, 27 Aug 2008 08:06:58 +0000
branchstable-1.4
changeset 1632 31196835d181
parent 1630 ffa89570d84f
permissions -rw-r--r--
Version 1.4.0-rc2.
#-----------------------------------------------------------------------------
#
# $Id$
#
#-----------------------------------------------------------------------------

GRAPHS := \
	fsm_change \
	fsm_master \
	fsm_pdo_conf \
	fsm_pdo_entry_conf \
	fsm_pdo_entry_read \
	fsm_pdo_read \
	fsm_sii \
	fsm_slave_conf \
	fsm_slave_scan

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

PS = $(addsuffix .ps,$(GRAPHS))
PDF = $(addsuffix .pdf,$(GRAPHS))

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

all: pdf

pdf: $(PDF)

ps: $(PS)

%.ps: %.dot
	dot -Tps -o $@ $<

%.pdf: %.ps
	epstopdf $<

clean:
	@rm -f *.ps *.pdf

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