mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-18 00:57:23 +08:00
Directly export PDFs from DOT graphs.
This commit is contained in:
@@ -18,7 +18,6 @@ GRAPHS := \
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
PS = $(addsuffix .ps,$(GRAPHS))
|
||||
PDF = $(addsuffix .pdf,$(GRAPHS))
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
@@ -27,15 +26,10 @@ all: pdf
|
||||
|
||||
pdf: $(PDF)
|
||||
|
||||
ps: $(PS)
|
||||
|
||||
%.ps: %.dot
|
||||
dot -Tps -o $@ $<
|
||||
|
||||
%.pdf: %.ps
|
||||
ps2pdf $<
|
||||
%.pdf: %.dot
|
||||
dot -Tpdf -o $@ $<
|
||||
|
||||
clean:
|
||||
@rm -f *.ps *.pdf
|
||||
@rm -f *.pdf
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user