Makefile (452B)
1 DOCS=\ 2 admin \ 3 configuration \ 4 development \ 5 index \ 6 installation \ 7 intro \ 8 hardware \ 9 module-options-generated.inc \ 10 outputs-generated.inc \ 11 tutorial 12 13 %.adoc: %.rst 14 pandoc -f rst -t asciidoc $< | sed -E -e 's/^(=*) /=\1 /g' > $@ 15 16 hardware.adoc: hardware.nix 17 18 html: Makefile $(patsubst %,%.adoc,$(DOCS)) 19 asciidoctor -D _build -d book index.adoc 20 21 install: 22 mkdir -p $(prefix)/share/doc/liminix 23 cp -a _build/* $(prefix)/share/doc/liminix