aboutsummaryrefslogtreecommitdiffstats
path: root/libs/nanopb/docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nanopb/docs/Makefile')
-rw-r--r--libs/nanopb/docs/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/nanopb/docs/Makefile b/libs/nanopb/docs/Makefile
new file mode 100644
index 00000000..0dbd97cf
--- /dev/null
+++ b/libs/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>!' $@