mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-01-22 22:03:47 +03:00
02e6a824e1
Produces much smaller .svg file
26 lines
556 B
Makefile
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
|