aboutsummaryrefslogtreecommitdiff
path: root/release.nix
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-08-03 13:32:13 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-08-03 13:32:13 +0000
commit5e9a4e5101a76655dd7f1bcd2c1c3afc200552b1 (patch)
treed83ebf555591d4ca90a2bf64b2d6df026d71702b /release.nix
parent9b46d1ae6fe37f4caf24a39541553c07b5c07342 (diff)
Diffstat (limited to 'release.nix')
-rw-r--r--release.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/release.nix b/release.nix
index 39d6b0c6b..24c285b76 100644
--- a/release.nix
+++ b/release.nix
@@ -18,7 +18,10 @@ let
src = nix;
inherit officialRelease;
- buildInputs = [curl bison flex2533 perl libxml2 libxslt w3m bzip2 jing_tools tetex dblatex];
+ buildInputs =
+ [ curl bison flex2533 perl libxml2 libxslt w3m bzip2 jing_tools
+ tetex dblatex nukeReferences
+ ];
configureFlags = ''
--with-docbook-rng=${docbook5}/xml/rng/docbook
@@ -57,6 +60,14 @@ let
make -C doc/manual manual.pdf prefix=$out
cp doc/manual/manual.pdf $out/manual.pdf
+
+ # The PDF containes filenames of included graphics (see
+ # http://www.tug.org/pipermail/pdftex/2007-August/007290.html).
+ # This causes a retained dependency on dblatex, which Hydra
+ # doesn't like (the output of the tarball job is distributed
+ # to Windows and Macs, so there should be no Linux binaries
+ # in the closure).
+ nuke-refs $out/manual.pdf
echo "doc manual $out/share/doc/nix/manual" >> $out/nix-support/hydra-build-products
echo "doc-pdf manual $out/manual.pdf" >> $out/nix-support/hydra-build-products