From 73f1a566c329ad6b8c550331b34456b163d798c2 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Thu, 10 Apr 2025 00:22:29 +0100 Subject: [PATCH] massage doc pathnames for publishing --- doc.nix | 4 ++-- doc/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc.nix b/doc.nix index beb36dd..76cae25 100644 --- a/doc.nix +++ b/doc.nix @@ -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 diff --git a/doc/Makefile b/doc/Makefile index 4d7dcd6..f1bea7a 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -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