setup: create a "make deb-lenny-head" target
authorZooko O'Whielacronx <zooko@zooko.com>
Fri, 6 Mar 2009 20:10:57 +0000 (13:10 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Fri, 6 Mar 2009 20:10:57 +0000 (13:10 -0700)
I made this patch by copying [20090305220021-92b7f-89d987c7d05306b5cb03a64f2956a652c10a7296] and changing the name from "intrepid" to "lenny".  I haven't tested it.

Makefile

index 967430445af697372da0885985d7409a22449d12..02ab25ad5941e4751169c01c130dea14540bf122 100644 (file)
--- 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