From 53ed9dd7130459a910c8bfd1d09bcafc349965bd Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 25 Jul 2018 16:57:17 +0200 Subject: ffi: Use highlight.js to syntax-highlight the c examples. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 93a7bb19..9f0bc7f5 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ PREFIX ?= /usr/local DESTDIR ?= CARGO_FLAGS ?= +FFI_RUSTDOCFLAGS ?= --html-in-header ffi/rustdoc.head.html # Signing source distributions. SIGN_WITH ?= XXXXXXXXXXXXXXXX @@ -51,6 +52,8 @@ examples: .PHONY: doc doc: $(CARGO) doc $(CARGO_FLAGS) --no-deps --all + env RUSTDOCFLAGS="$(FFI_RUSTDOCFLAGS)" \ + $(CARGO) doc $(CARGO_FLAGS) --no-deps --package sequoia-ffi $(CARGO) doc $(CARGO_FLAGS) --no-deps --package nettle .PHONY: deploy-doc -- cgit v1.2.3