forked from dan/liminix
massage doc pathnames for publishing
This commit is contained in:
parent
a720f8f114
commit
73f1a566c3
4
doc.nix
4
doc.nix
@ -45,9 +45,9 @@ stdenv.mkDerivation {
|
|||||||
make -C doc html
|
make -C doc html
|
||||||
'';
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/nix-support $out/share/
|
mkdir -p $out/nix-support
|
||||||
cd doc
|
cd doc
|
||||||
make install prefix=$out/share
|
make install prefix=$out
|
||||||
ln -s ${json} $out/options.json
|
ln -s ${json} $out/options.json
|
||||||
echo "file source-dist \"$out/share/doc/liminix\"" \
|
echo "file source-dist \"$out/share/doc/liminix\"" \
|
||||||
> $out/nix-support/hydra-build-products
|
> $out/nix-support/hydra-build-products
|
||||||
|
@ -19,5 +19,5 @@ html: Makefile $(patsubst %,%.adoc,$(DOCS))
|
|||||||
asciidoctor -D _build -d book index.adoc
|
asciidoctor -D _build -d book index.adoc
|
||||||
|
|
||||||
install:
|
install:
|
||||||
mkdir -p $(prefix)/doc
|
mkdir -p $(prefix)/share/doc/liminix
|
||||||
cp -a _build/* $(prefix)/doc
|
cp -a _build/* $(prefix)/share/doc/liminix
|
||||||
|
Loading…
Reference in New Issue
Block a user