include all the doc sections in index
This commit is contained in:
17
doc/Makefile
17
doc/Makefile
@@ -7,20 +7,15 @@ DOCS=\
|
||||
intro \
|
||||
modules \
|
||||
outputs \
|
||||
reference \
|
||||
hardware \
|
||||
tutorial
|
||||
|
||||
hardware.adoc: hardware.nix
|
||||
pandoc -f rst -t asciidoc -o $@ hardware.rst
|
||||
|
||||
hardware.rst: hardware.nix
|
||||
@rm -f hardware.rst || true
|
||||
@cp $$(nix-build hardware.nix) hardware.rst
|
||||
|
||||
%.html : %.adoc
|
||||
asciidoctor -a stylesheet=asciidoc.css $<
|
||||
|
||||
html: Makefile $(patsubst %,%.html,$(DOCS))
|
||||
html: Makefile $(patsubst %,%.adoc,$(DOCS))
|
||||
asciidoctor -D _build -d book index.adoc
|
||||
|
||||
install:
|
||||
mkdir -p $(prefix)/doc
|
||||
cp -a posts/* news.html index.html liminix.css $(prefix)
|
||||
cp $(patsubst %,%.html,$(DOCS)) $(prefix)/doc
|
||||
cp -a _build/* $(prefix)/doc
|
||||
|
Reference in New Issue
Block a user