forked from lix-project/hydra
* hydra: make manual.pdf
This commit is contained in:
parent
15c068007a
commit
1578bbf198
|
@ -1,5 +1,5 @@
|
||||||
{ nixpkgs ? ../nixpkgs
|
{ nixpkgs ? ../nixpkgs
|
||||||
, hydraSrc ? {outPath = ../hydra-wc; rev = 1234;}
|
, hydraSrc ? {outPath = ./.; rev = 1234;}
|
||||||
, officialRelease ? false
|
, officialRelease ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ rec {
|
||||||
name = "hydra-${tarball.version}";
|
name = "hydra-${tarball.version}";
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ perl makeWrapper libtool ]
|
[ perl makeWrapper libtool dblatex ]
|
||||||
++ (import ./deps.nix) { inherit pkgs; };
|
++ (import ./deps.nix) { inherit pkgs; };
|
||||||
|
|
||||||
preUnpack = ''
|
preUnpack = ''
|
||||||
|
@ -105,8 +105,8 @@ rec {
|
||||||
|
|
||||||
ensureDir $out/share/doc/hydra/manual
|
ensureDir $out/share/doc/hydra/manual
|
||||||
cp doc/manual/* $out/share/doc/hydra/manual/
|
cp doc/manual/* $out/share/doc/hydra/manual/
|
||||||
ln -s manual.html $out/share/doc/hydra/manual/index.html
|
make -C doc/manual manual.pdf
|
||||||
echo "doc manual $out/share/doc/hydra/manual" >> $out/nix-support/hydra-build-products
|
echo "doc-pdf manual $out/share/doc/hydra/manual/manual.pdf" >> $out/nix-support/hydra-build-products
|
||||||
echo "nix-build none $out" >> $out/nix-support/hydra-build-products
|
echo "nix-build none $out" >> $out/nix-support/hydra-build-products
|
||||||
|
|
||||||
ensureDir $out/share/hydra/sql
|
ensureDir $out/share/hydra/sql
|
||||||
|
|
Loading…
Reference in a new issue