Commit a2164245 authored by Peter Palfrader's avatar Peter Palfrader
Browse files

Work around fig2dev failing to build the images on all archs - backport from...

Work around fig2dev failing to build the images on all archs - backport from 0.2.0.22-rc-1 (re #457568).


svn:r14609
parent 2bed1020
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
tor (0.1.2.19-3) unstableunreleased; urgency=low

  * It's 2008.  Now is the time to add copyright statements for 2007.
  * Work around fig2dev failing to build the images on all archs -
    backport from 0.2.0.22-rc-1 (re #457568).

 -- Peter Palfrader <weasel@debian.org>  Sun,  3 Feb 2008 21:53:04 +0100
 -- Peter Palfrader <weasel@debian.org>  Wed, 14 May 2008 15:00:47 +0200

tor (0.1.2.19-2) unstable; urgency=low

+3 −5
Original line number Diff line number Diff line
@@ -100,9 +100,8 @@ build-stamp: config.status
	#
	# 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" ] || \
	   [ "$(DEB_BUILD_GNU_TYPE)" = "sparc-linux-gnu" ] || \
	   [ "$(DEB_BUILD_GNU_TYPE)" = "mipsel-linux" ]; then \
	# 
	# And it fails on a bunch of other archs too.
	cd doc/design-paper; \
		fig2dev -L pdf cell-struct.fig cell-struct.pdf || \
			( echo "** Using shipped pdf file because fig2dev failed"; \
@@ -110,7 +109,6 @@ build-stamp: config.status
		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

	make -C doc/design-paper tor-design.ps tor-design.pdf