From e8e113c6f70127032c47d26ff4e054e3facbdd03 Mon Sep 17 00:00:00 2001
From: Peter Palfrader <peter@palfrader.org>
Date: Fri, 5 May 2006 15:40:54 +0000
Subject: [PATCH] Merge differences between debian_version_0_1_1_18-rc-1 and
 debian_version_0_1_1_19-rc-1 from tor-0_1_1-patches into head

svn:r6443
---
 debian/changelog |  9 +++++++++
 debian/rules     | 23 +----------------------
 debian/tor.docs  |  8 +++++---
 3 files changed, 15 insertions(+), 25 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a036592190..c5b2fa8d6c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+tor (0.1.1.19-rc-1) experimental; urgency=low
+
+  * New upstream version.
+  * Remove support for my nodoc DEB_BUILD_OPTIONS variable.  It clutters
+    stuff and I haven't used it in ages.
+  * Update debian/tor.docs file.
+
+ -- Peter Palfrader <weasel@debian.org>  Fri,  5 May 2006 16:27:48 +0200
+
 tor (0.1.1.18-rc-1) experimental; urgency=low
 
   * New upstream version.
diff --git a/debian/rules b/debian/rules
index fd34605689..c593860b51 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,11 +35,6 @@ endif
 #	INSTALL_PROGRAM += -s
 #endif
 
-# Prevent the design paper from being built with "nodoc"
-ifneq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
-	BUILD_DOC = no
-endif
-
 # Prevent the unit tests from being run with "nocheck"
 ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	RUN_TEST = no
@@ -111,19 +106,7 @@ build-stamp:  config.status
 	fi
 	# XXX ends
 
-	if [ "$(BUILD_DOC)" != "no" ]; then \
-		make -C doc/design-paper tor-design.ps tor-design.pdf || \
-		( echo -e "*\n*\n*\n*"; \
-		  echo "* Building some docs failed, perhaps because you did not install the"; \
-		  echo "* declared build dependencies and then used -o with dpkg-buildpackage."; \
-		  echo "*"; \
-		  echo "* If you want to skip this part, you can set nodoc in DEB_BUILD_OPTIONS" ; \
-		  echo "* and start the build again.  DEB_BUILD_OPTIONS=nodoc dpkg-buildpackage.."; \
-		  echo -e "*\n*\n*\n*"; \
-		  false ); \
-	else \
-		echo -e "\n\nSkipping tor-design.{ps,pdf}\n\n"; \
-	fi
+	make -C doc/design-paper tor-design.ps tor-design.pdf
 
 	touch build-stamp
 
@@ -173,10 +156,6 @@ binary-arch: build install
 	dh_testroot
 	dh_installchangelogs ChangeLog
 	dh_installdocs
-	if [ "$(BUILD_DOC)" != "no" ]; then \
-		install -m 644 doc/design-paper/tor-design.ps  $(CURDIR)/debian/tor/usr/share/doc/tor/; \
-		install -m 644 doc/design-paper/tor-design.pdf $(CURDIR)/debian/tor/usr/share/doc/tor/; \
-	fi
 	dh_installexamples
 #	dh_install
 #	dh_installdebconf
diff --git a/debian/tor.docs b/debian/tor.docs
index 42bd3b5e16..99902caf14 100644
--- a/debian/tor.docs
+++ b/debian/tor.docs
@@ -1,13 +1,15 @@
 AUTHORS
-debian/README.privoxy
 debian/README.Debian
+debian/README.privoxy
 doc/HACKING
 doc/TODO
 doc/control-spec.txt
+doc/design-paper/tor-design.pdf
+doc/design-paper/tor-design.ps
 doc/dir-spec.txt
 doc/rend-spec.txt
 doc/socks-extensions.txt
-doc/website/stylesheet.css
-doc/website/tor-*
 doc/tor-spec.txt
 doc/version-spec.txt
+doc/website/stylesheet.css
+doc/website/tor-*
-- 
GitLab