summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-12-27 11:50:48 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-12-27 11:50:48 +0100
commita310bfd65880247e97e217521b06474d1616e73d (patch)
tree6437584331f0ea5fb8b117bfbfe091de4d88d2db
parent5ddbfb06084712ff69be8de2b7c6515702f4da07 (diff)
Generate png images from dot files..
I should use a standard rule to make dot.png from .dot.. but I can never remember the syntax.
-rw-r--r--2016/33c3/.gitignore3
-rw-r--r--2016/33c3/Makefile10
2 files changed, 12 insertions, 1 deletions
diff --git a/2016/33c3/.gitignore b/2016/33c3/.gitignore
index 6720ae5..e867027 100644
--- a/2016/33c3/.gitignore
+++ b/2016/33c3/.gitignore
@@ -2,3 +2,6 @@
33c3-modems.html
images/upgrade_process.png
images/diag_frame.png
+images/diag.png
+images/qmi_services.png
+images/qmi_smd_qmuxd.png
diff --git a/2016/33c3/Makefile b/2016/33c3/Makefile
index 51c8a92..ac22e63 100644
--- a/2016/33c3/Makefile
+++ b/2016/33c3/Makefile
@@ -1,5 +1,13 @@
all: 33c3-modems.html
+images/diag.png: images/diag.dot
+ dot -Tpng -o images/diag.png images/diag.dot
+
+images/qmi_services.png: images/qmi_services.dot
+ dot -Tpng -o images/qmi_services.png images/qmi_services.dot
+
+images/qmi_smd_qmuxd.png: images/qmi_smd_qmuxd.dot
+ dot -Tpng -o images/qmi_smd_qmuxd.png images/qmi_smd_qmuxd.dot
images/upgrade_process.png: images/upgrade_process.blockdiag
blockdiag -a -o images/upgrade_process.png images/upgrade_process.blockdiag
@@ -7,5 +15,5 @@ images/upgrade_process.png: images/upgrade_process.blockdiag
images/diag_frame.png: images/diag_frame.blockdiag
blockdiag -a -o images/diag_frame.png images/diag_frame.blockdiag
-33c3-modems.html: 33c3-modems.adoc 33c3-modems.css images/upgrade_process.png images/diag_frame.png
+33c3-modems.html: 33c3-modems.adoc 33c3-modems.css images/upgrade_process.png images/diag_frame.png images/diag.png images/qmi_services.png images/qmi_smd_qmuxd.png
asciidoc -a stylesheet=$(PWD)/33c3-modems.css 33c3-modems.adoc
personal git repositories of Harald Welte. Your mileage may vary