documentation/images/Makefile
changeset 1771 7183fe5f27fa
parent 1588 2f6e6e7d31dd
equal deleted inserted replaced
1770:9550d9386f46 1771:7183fe5f27fa
    15 	master-locks.fig \
    15 	master-locks.fig \
    16 	masters.fig \
    16 	masters.fig \
    17 	phases.fig \
    17 	phases.fig \
    18 	statetrans.fig
    18 	statetrans.fig
    19 
    19 
    20 PDFS = $(FIGS:.fig=.pdf)
    20 FIGPDFS = $(FIGS:.fig=.pdf)
    21 
    21 
    22 all: $(PDFS)
    22 SVGS := \
       
    23 	architecture.svg
       
    24 
       
    25 SVGPDFS = $(SVGS:.svg=.pdf)
       
    26 
       
    27 all: $(FIGPDFS) $(SVGPDFS)
    23 
    28 
    24 %.pdf: %.fig
    29 %.pdf: %.fig
    25 	fig2dev -L pdf -z A4 -p xxx -c $< $@	
    30 	fig2dev -L pdf -z A4 -p xxx -c $< $@	
    26 
    31 
       
    32 %.pdf: %.svg
       
    33 	inkscape --export-pdf=$@ $<
       
    34 
    27 clean:
    35 clean:
    28 	@rm -rv $(PDFS)
    36 	@rm -rv $(FIGPDFS) $(SVGPDFS)
    29 
    37 
    30 #-----------------------------------------------------------------------------
    38 #-----------------------------------------------------------------------------