5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-01-22 22:03:47 +03:00
pve-docs/images/Makefile
Dietmar Maurer 02e6a824e1 use graphviz to generate pve-software-stack.svg
Produces much smaller .svg file
2018-08-16 13:13:57 +02:00

26 lines
556 B
Makefile

TT_SOURCES= \
pve-software-stack.tt \
default-network-setup-bond.tt \
default-network-setup-routed.tt \
default-network-setup-bridge.tt
all: $(TT_SOURCES:.tt=.svg)
%.tmp.dot: %.tt pve_network_templates.tt
tpage $*.tt >$*.tmp.dot
%.svg: %.tmp.dot
dot $*.tmp.dot -T svg -o $*.svg
update:
rm -f $(TT_SOURCES:.tt=.svg)
make $(TT_SOURCES:.tt=.svg)
install: $(TT_SOURCES:.tt=.svg)
install -d -m 0755 $(DESTDIR)/usr/share/pve-docs/images
install -m 0644 $(TT_SOURCES:.tt=.svg) $(DESTDIR)/usr/share/pve-docs/images
clean:
rm -f *.tmp.dot