diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-08-10 09:18:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-08-10 09:19:08 +0000 |
commit | a2d7dede737947d7c6afa20a88e1f0c64e0eb96c (patch) | |
tree | fed4aff7dbe0be00cf91de6261d98bc0eb9a2449 /diagrams/docs/Makefile | |
parent | Releasing debian version 1.41.0-1. (diff) | |
download | netdata-a2d7dede737947d7c6afa20a88e1f0c64e0eb96c.tar.xz netdata-a2d7dede737947d7c6afa20a88e1f0c64e0eb96c.zip |
Merging upstream version 1.42.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'diagrams/docs/Makefile')
-rw-r--r-- | diagrams/docs/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/diagrams/docs/Makefile b/diagrams/docs/Makefile new file mode 100644 index 000000000..0ec111697 --- /dev/null +++ b/diagrams/docs/Makefile @@ -0,0 +1,18 @@ +DRAWIO ?= /opt/drawio/drawio +DRAWIO_FLAGS = --export --format svg --transparent --embed-svg-images + +SOURCES := $(wildcard *.drawio) +TARGETS := $(patsubst %.drawio,%.svg,$(SOURCES)) + +.PHONY: +all: svg + +.PHONY: +svg: $(TARGETS) + +.PHONY: +clean: + rm $(TARGETS) + +$(TARGETS): %.svg: %.drawio + $(DRAWIO) $(DRAWIO_FLAGS) --output $@ $< |