From 32c541cffc6724f1dd712c2b1c3fc7d1ac0da2a1 Mon Sep 17 00:00:00 2001
From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Fri, 6 Mar 2009 13:10:57 -0700
Subject: [PATCH] setup: create a "make deb-lenny-head" target I made this
 patch by copying
 [20090305220021-92b7f-89d987c7d05306b5cb03a64f2956a652c10a7296] and changing
 the name from "intrepid" to "lenny".  I haven't tested it.

---
 Makefile | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 96743044..02ab25ad 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 deb-intrepid
+.PHONY: deb-edgy deb-feisty deb-gutsy deb-hardy deb-intrepid deb-lenny
 
 deb-sid:
 	$(MAKE) deb-ARCH ARCH=sid
@@ -312,11 +312,13 @@ deb-hardy:
 	$(MAKE) deb-ARCH ARCH=hardy TAHOE_ARCH=feisty
 deb-intrepid:
 	$(MAKE) deb-ARCH ARCH=intrepid TAHOE_ARCH=feisty
+deb-lenny:
+	$(MAKE) deb-ARCH ARCH=lenny TAHOE_ARCH=feisty
 
 
 
 # we know how to handle the following debian architectures
-KNOWN_DEBIAN_ARCHES := etch sid  edgy feisty gutsy hardy intrepid
+KNOWN_DEBIAN_ARCHES := etch sid  edgy feisty gutsy hardy intrepid lenny
 
 ifeq ($(findstring x-$(ARCH)-x,$(foreach arch,$(KNOWN_DEBIAN_ARCHES),"x-$(arch)-x")),)
 is-known-debian-arch:
@@ -352,7 +354,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 deb-intrepid-head
+.PHONY: deb-edgy-head deb-feisty-head deb-gutsy-head deb-hardy-head deb-intrepid-head deb-lenny-head
 .PHONY: deb-etch-head deb-sid-head
 
 # The buildbot runs the following targets after each change, to produce
@@ -388,6 +390,10 @@ deb-intrepid-head:
 	$(MAKE) setup-deb ARCH=intrepid TAHOE_ARCH=feisty
 	$(MAKE) increment-deb-version
 	fakeroot debian/rules binary
+deb-lenny-head:
+	$(MAKE) setup-deb ARCH=lenny TAHOE_ARCH=feisty
+	$(MAKE) increment-deb-version
+	fakeroot debian/rules binary
 
 
 # These targets provide for windows native builds
-- 
2.45.2