1
0

massage doc pathnames for publishing

This commit is contained in:
Daniel Barlow 2025-04-10 00:22:29 +01:00
parent a720f8f114
commit 73f1a566c3
2 changed files with 4 additions and 4 deletions

View File

@ -45,9 +45,9 @@ stdenv.mkDerivation {
make -C doc html
'';
installPhase = ''
mkdir -p $out/nix-support $out/share/
mkdir -p $out/nix-support
cd doc
make install prefix=$out/share
make install prefix=$out
ln -s ${json} $out/options.json
echo "file source-dist \"$out/share/doc/liminix\"" \
> $out/nix-support/hydra-build-products

View File

@ -19,5 +19,5 @@ html: Makefile $(patsubst %,%.adoc,$(DOCS))
asciidoctor -D _build -d book index.adoc
install:
mkdir -p $(prefix)/doc
cp -a _build/* $(prefix)/doc
mkdir -p $(prefix)/share/doc/liminix
cp -a _build/* $(prefix)/share/doc/liminix