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