aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/nanopb/docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nanopb/docs/Makefile')
-rw-r--r--third_party/nanopb/docs/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/nanopb/docs/Makefile b/third_party/nanopb/docs/Makefile
new file mode 100644
index 0000000000..0dbd97cfec
--- /dev/null
+++ b/third_party/nanopb/docs/Makefile
@@ -0,0 +1,9 @@
+all: index.html concepts.html reference.html security.html migration.html \
+ generator_flow.png
+
+%.png: %.svg
+ rsvg $< $@
+
+%.html: %.rst
+ rst2html --stylesheet=lsr.css --link-stylesheet $< $@
+ sed -i 's!</head>!<link href="favicon.ico" type="image/x-icon" rel="shortcut icon" />\n</head>!' $@