From a728629051c25455af15a13bed278a3770280cb5 Mon Sep 17 00:00:00 2001
From: Peter Palfrader <peter@palfrader.org>
Date: Sat, 27 Jan 2007 20:50:09 +0000
Subject: [PATCH] The spec files have moved.  This requires updating the debian
 rules file

svn:r9447
---
 debian/changelog | 8 ++++++++
 debian/rules     | 5 +++++
 debian/tor.docs  | 6 ------
 3 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2af09e5a22..ccd4e8faf1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tor (0.1.2.6-alpha-2) unreleased; urgency=low
+
+  * UNRELEASED
+  * Install all the spec files into usr/share/doc/tor/spec now.
+    They moved to doc/spec/* from just doc/* in the source too.
+
+ -- Peter Palfrader <weasel@debian.org>  Sat, 27 Jan 2007 21:41:37 +0100
+
 tor (0.1.2.6-alpha-1) experimental; urgency=low
 
   * New upstream version.
diff --git a/debian/rules b/debian/rules
index e52aae5a35..c0695d065e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -143,6 +143,11 @@ install: build
 
 	install -m 644 debian/tor.lintian-override $(CURDIR)/debian/tor/usr/share/lintian/overrides/tor
 
+	install -d -m 755 $(CURDIR)/debian/tor/usr/share/doc/tor/spec
+	for i in doc/spec/*txt; do \
+		install -m 644 $$i $(CURDIR)/debian/tor/usr/share/doc/tor/spec || exit 1; \
+	done
+
 	dh_link usr/share/man/man8/tor.8 usr/share/man/man5/torrc.5
 
 	rm -f $(CURDIR)/debian/tor/usr/bin/tor-control.py
diff --git a/debian/tor.docs b/debian/tor.docs
index 99902caf14..40dfa469cd 100644
--- a/debian/tor.docs
+++ b/debian/tor.docs
@@ -3,13 +3,7 @@ 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/tor-spec.txt
-doc/version-spec.txt
 doc/website/stylesheet.css
 doc/website/tor-*
-- 
GitLab