Disable building the PDF manual

This commit is contained in:
Eelco Dolstra 2015-07-08 16:51:05 +02:00
parent 296213e90a
commit f933762358
2 changed files with 2 additions and 6 deletions

View file

@ -16,7 +16,7 @@ dblatex_opts = \
# Include the manual in the tarball. # Include the manual in the tarball.
dist_html_DATA = manual.html style.css 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. # Embed Docbook's callout images in the distribution.
EXTRA_DIST += images EXTRA_DIST += images

View file

@ -37,7 +37,7 @@ in rec {
version = builtins.readFile ./version; version = builtins.readFile ./version;
buildInputs = 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}"; versionSuffix = if officialRelease then "" else "pre${toString hydraSrc.revCount}-${hydraSrc.gitTag}";
@ -63,12 +63,9 @@ in rec {
postDist = '' postDist = ''
make -C doc/manual install prefix="$out" make -C doc/manual install prefix="$out"
nuke-refs "$out/share/doc/hydra/manual.pdf"
echo "doc manual $out/share/doc/hydra manual.html" >> \ echo "doc manual $out/share/doc/hydra manual.html" >> \
"$out/nix-support/hydra-build-products" "$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 = '' postInstall = ''
mkdir -p $out/nix-support mkdir -p $out/nix-support
nuke-refs $out/share/doc/hydra/manual/manual.pdf
for i in $out/bin/*; do for i in $out/bin/*; do
wrapProgram $i \ wrapProgram $i \