forked from lix-project/hydra
Disable building the PDF manual
This commit is contained in:
parent
296213e90a
commit
f933762358
|
@ -16,7 +16,7 @@ dblatex_opts = \
|
|||
|
||||
# Include the manual in the tarball.
|
||||
dist_html_DATA = manual.html style.css
|
||||
dist_pdf_DATA = manual.pdf
|
||||
#dist_pdf_DATA = manual.pdf
|
||||
|
||||
# Embed Docbook's callout images in the distribution.
|
||||
EXTRA_DIST += images
|
||||
|
|
|
@ -37,7 +37,7 @@ in rec {
|
|||
version = builtins.readFile ./version;
|
||||
|
||||
buildInputs =
|
||||
[ perl libxslt dblatex tetex nukeReferences pkgconfig nix git openssl ];
|
||||
[ perl libxslt nukeReferences pkgconfig nix git openssl ];
|
||||
|
||||
versionSuffix = if officialRelease then "" else "pre${toString hydraSrc.revCount}-${hydraSrc.gitTag}";
|
||||
|
||||
|
@ -63,12 +63,9 @@ in rec {
|
|||
|
||||
postDist = ''
|
||||
make -C doc/manual install prefix="$out"
|
||||
nuke-refs "$out/share/doc/hydra/manual.pdf"
|
||||
|
||||
echo "doc manual $out/share/doc/hydra manual.html" >> \
|
||||
"$out/nix-support/hydra-build-products"
|
||||
echo "doc-pdf manual $out/share/doc/hydra/manual.pdf" >> \
|
||||
"$out/nix-support/hydra-build-products"
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -169,7 +166,6 @@ in rec {
|
|||
|
||||
postInstall = ''
|
||||
mkdir -p $out/nix-support
|
||||
nuke-refs $out/share/doc/hydra/manual/manual.pdf
|
||||
|
||||
for i in $out/bin/*; do
|
||||
wrapProgram $i \
|
||||
|
|
Loading…
Reference in a new issue