From 341c7aad8388e20c81c3a19097d2e0be99440d83 Mon Sep 17 00:00:00 2001
From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Thu, 5 Mar 2009 16:00:21 -0700
Subject: [PATCH] setup: enable build of .debs for Ubuntu Intrepid, thanks to
 DarKNesS_WolF

---
 CREDITS  |  3 +++
 Makefile | 15 ++++++++++++---
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/CREDITS b/CREDITS
index 99ebb403..2137f09c 100644
--- a/CREDITS
+++ b/CREDITS
@@ -80,3 +80,6 @@ E: alberto@metapensiero.it
 W: http://www.metapensiero.it
 S: via Filatoi, 1 38068 Rovereto (TN), Italy
 D: improvements to the CLI: exclude patterns, usage text
+
+N: DarKnesS_WOlF
+D: patch Makefile to build .debs for Ubuntu Intrepid
diff --git a/Makefile b/Makefile
index ba4875e5..8a581503 100644
--- a/Makefile
+++ b/Makefile
@@ -293,7 +293,7 @@ show-pp:
 
 .PHONY: setup-deb deb-ARCH is-known-debian-arch
 .PHONY: deb-etch deb-sid
-.PHONY: deb-edgy deb-feisty deb-gutsy deb-hardy
+.PHONY: deb-edgy deb-feisty deb-gutsy deb-hardy deb-intrepid
 
 deb-sid:
 	$(MAKE) deb-ARCH ARCH=sid
@@ -310,9 +310,13 @@ deb-gutsy:
 	$(MAKE) deb-ARCH ARCH=gutsy TAHOE_ARCH=feisty
 deb-hardy:
 	$(MAKE) deb-ARCH ARCH=hardy TAHOE_ARCH=feisty
+deb-intrepid:
+	$(MAKE) deb-ARCH ARCH=intrepid TAHOE_ARCH=feisty
+
+
 
 # we know how to handle the following debian architectures
-KNOWN_DEBIAN_ARCHES := etch sid  edgy feisty gutsy hardy
+KNOWN_DEBIAN_ARCHES := etch sid  edgy feisty gutsy hardy intrepid
 
 ifeq ($(findstring x-$(ARCH)-x,$(foreach arch,$(KNOWN_DEBIAN_ARCHES),"x-$(arch)-x")),)
 is-known-debian-arch:
@@ -348,7 +352,7 @@ deb-ARCH: is-known-debian-arch setup-deb
 	@echo "The newly built .deb packages are in the parent directory from here."
 
 .PHONY: increment-deb-version
-.PHONY: deb-edgy-head deb-feisty-head deb-gutsy-head deb-hardy-head
+.PHONY: deb-edgy-head deb-feisty-head deb-gutsy-head deb-hardy-head deb-intrepid-head
 .PHONY: deb-etch-head deb-sid-head
 
 # The buildbot runs the following targets after each change, to produce
@@ -380,6 +384,11 @@ deb-hardy-head:
 	$(MAKE) setup-deb ARCH=hardy TAHOE_ARCH=feisty
 	$(MAKE) increment-deb-version
 	fakeroot debian/rules binary
+deb-intrepid-head:
+	$(MAKE) setup-deb ARCH=intrepid TAHOE_ARCH=feisty
+	$(MAKE) increment-deb-version
+	fakeroot debian/rules binary
+
 
 # These targets provide for windows native builds
 .PHONY: windows-exe windows-installer windows-installer-upload
-- 
2.45.2