documentation/images/Makefile
changeset 1799 f228415225b7
parent 1771 7183fe5f27fa
equal deleted inserted replaced
1798:e7733f825982 1799:f228415225b7
     4 #
     4 #
     5 #-----------------------------------------------------------------------------
     5 #-----------------------------------------------------------------------------
     6 
     6 
     7 FIGS := \
     7 FIGS := \
     8 	app-config.fig \
     8 	app-config.fig \
     9 	architecture.fig \
       
    10 	attach.fig \
     9 	attach.fig \
    11 	dc.fig \
    10 	dc.fig \
    12 	fmmus.fig \
    11 	fmmus.fig \
    13 	fsm-coedown.fig \
    12 	fsm-coedown.fig \
    14 	fsm-eoe.fig \
    13 	fsm-eoe.fig \
    16 	master-locks.fig \
    15 	master-locks.fig \
    17 	masters.fig \
    16 	masters.fig \
    18 	phases.fig \
    17 	phases.fig \
    19 	statetrans.fig
    18 	statetrans.fig
    20 
    19 
    21 PDFS = $(FIGS:.fig=.pdf)
    20 FIGPDFS = $(FIGS:.fig=.pdf)
    22 
    21 
    23 all: $(PDFS)
    22 SVGS := \
       
    23 	architecture.svg
       
    24 
       
    25 SVGPDFS = $(SVGS:.svg=.pdf)
       
    26 
       
    27 all: $(FIGPDFS) $(SVGPDFS)
    24 
    28 
    25 %.pdf: %.fig
    29 %.pdf: %.fig
    26 	fig2dev -L pdf -z A4 -p xxx -c $< $@	
    30 	fig2dev -L pdf -z A4 -p xxx -c $< $@	
    27 
    31 
       
    32 %.pdf: %.svg
       
    33 	inkscape --export-pdf=$@ $<
       
    34 
    28 clean:
    35 clean:
    29 	@rm -rv $(PDFS)
    36 	@rm -rv $(FIGPDFS) $(SVGPDFS)
    30 
    37 
    31 #-----------------------------------------------------------------------------
    38 #-----------------------------------------------------------------------------