From: Zooko O'Whielacronx Date: Fri, 6 Mar 2009 20:10:57 +0000 (-0700) Subject: setup: create a "make deb-lenny-head" target X-Git-Tag: allmydata-tahoe-1.4.0~91 X-Git-Url: https://git.rkrishnan.org/pf/content/en/service/nxhtml.html?a=commitdiff_plain;h=32c541cffc6724f1dd712c2b1c3fc7d1ac0da2a1;p=tahoe-lafs%2Ftahoe-lafs.git 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. --- 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