diff -r 1ca40d2e6a8d -r 0d3e4246e790 documentation/graphs/Makefile --- a/documentation/graphs/Makefile Tue Feb 26 09:47:09 2008 +0000 +++ b/documentation/graphs/Makefile Tue Feb 26 10:25:52 2008 +0000 @@ -5,18 +5,29 @@ #----------------------------------------------------------------------------- GRAPHS := \ - fsm_slave_conf.ps \ - fsm_pdo_mapping.ps \ - fsm_pdo_config.ps \ - fsm_master.ps \ - fsm_coe_map.ps + fsm_slave_conf \ + fsm_slave_scan \ + fsm_pdo_mapping \ + fsm_pdo_config \ + fsm_master \ + fsm_coe_map -all: $(GRAPHS) +#----------------------------------------------------------------------------- + +PS = $(addsuffix .ps,$(GRAPHS)) +PDF = $(addsuffix .pdf,$(GRAPHS)) + +#----------------------------------------------------------------------------- + +all: $(PDF) %.ps: %.dot dot -Tps -o $@ $< +%.pdf: %.ps + ps2pdf $< + clean: - @rm -f *.ps + @rm -f *.ps *.pdf #-----------------------------------------------------------------------------