diff options
author | Peter Palfrader <peter@palfrader.org> | 2005-08-09 13:11:00 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2005-08-09 13:11:00 +0000 |
commit | c12d81d654faa78dd8863ce802fbdc61838ac7ff (patch) | |
tree | 1e589f3d1d055522eb574da3114f6579a1799851 /debian/rules | |
parent | 4ce34c013ef069d7d744235d471458f7cffcb696 (diff) | |
download | tor-c12d81d654faa78dd8863ce802fbdc61838ac7ff.tar.gz tor-c12d81d654faa78dd8863ce802fbdc61838ac7ff.zip |
Merge debian directory from tor-0_1_0-patches to HEAD
svn:r4758
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index b9eee7d20c..072302f3f1 100755 --- a/debian/rules +++ b/debian/rules @@ -77,7 +77,26 @@ build-stamp: config.status fi @echo - # make design paper + # XXX + # So, gs-gpl on s390 is broken (#321435) and fails to properly build + # .pdf files from .fig files using fig2dev. Therefore we ship them + # until this bug is fixed. + # + # of course we can always give it a try + # + # the hexdumps were built using something like + # perl -e 'while (<>) { print unpack ("H*", $_); }' interaction.pdf | fold > hexdump-interaction.pdf + if [ "$(DEB_BUILD_GNU_TYPE)" = "s390-linux-gnu" ]; then \ + cd doc/design-paper; \ + fig2dev -L pdf cell-struct.fig cell-struct.pdf || \ + ( echo "** Using shipped pdf file because fig2dev failed"; \ + perl -e 'while (<>) { chomp; print pack ("H*", $$_); }' ../../debian/hexdump-cell-struct.pdf > cell-struct.pdf ); \ + fig2dev -L pdf interaction.fig interaction.pdf || \ + ( echo "** Using shipped pdf file because fig2dev failed"; \ + perl -e 'while (<>) { chomp; print pack ("H*", $$_); }' ../../debian/hexdump-interaction.pdf > interaction.pdf ); \ + fi + # XXX ends + if [ "$(BUILD_DOC)" != "no" ]; then \ make -C doc/design-paper tor-design.ps tor-design.pdf || \ ( echo -e "*\n*\n*\n*"; \ |