2025-04-06 17:01:33 +00:00
|
|
|
DOCS=\
|
|
|
|
admin \
|
|
|
|
configuration \
|
|
|
|
development \
|
|
|
|
index \
|
|
|
|
installation \
|
|
|
|
intro \
|
|
|
|
modules \
|
|
|
|
outputs \
|
|
|
|
reference \
|
|
|
|
tutorial
|
2023-02-15 23:26:22 +00:00
|
|
|
|
|
|
|
|
2024-01-04 13:34:46 +00:00
|
|
|
hardware.rst: hardware.nix
|
|
|
|
@rm -f hardware.rst || true
|
|
|
|
@cp $$(nix-build hardware.nix) hardware.rst
|
|
|
|
|
2025-04-06 17:01:33 +00:00
|
|
|
%.html : %.adoc
|
|
|
|
asciidoctor -a stylesheet=asciidoc.css $<
|
|
|
|
|
|
|
|
html: Makefile $(patsubst %,%.html,$(DOCS))
|
2023-02-15 23:26:22 +00:00
|
|
|
|
2025-04-06 17:01:33 +00:00
|
|
|
install:
|
|
|
|
mkdir -p $(prefix)/doc
|
|
|
|
cp -a posts/* news.html index.html liminix.css $(prefix)
|
|
|
|
cp $(patsubst %,%.html,$(DOCS)) $(prefix)/doc
|