From 9206c1cbf9f32812d2d243edd75b5a52e2ff14c0 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Mon, 19 Nov 2007 10:43:26 +1300 Subject: [PATCH] Undo the changes to the Makefile to use git-archive when building .debs. This just made the makefile more complicated with no real benefit. --- Makefile | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 51e6264..4fc1fc5 100644 --- a/Makefile +++ b/Makefile @@ -32,22 +32,14 @@ $(tarball): @git-archive --format=tar --prefix=$(package)-$(version)/ $(version) `git-ls-tree --name-only $(version) | egrep -v "(.gitignore|debian|Makefile)"` | gzip > $(tarball) build/etch/$(deb): - @rm -rf build/working &> /dev/null - @mkdir -p build/working - @git-archive --format=tar $(version) | (cd build/working; tar xf -) - @ssh build-etch-i386 "cd `pwd`/build/working; $(build)" + @ssh build-etch-i386 "cd `pwd`; $(build)" @mkdir -p build/etch - @mv build/$(deb) build/etch - @rm -rf build/working &> /dev/null + @mv ../$(deb) build/etch build/sid/$(deb): - @rm -rf build/working &> /dev/null - @mkdir -p build/working - @git-archive --format=tar $(version) | (cd build/working; tar xf -) - @ssh build-sid-i386 "cd `pwd`/build/working; $(build)" + @ssh build-sid-i386 "cd `pwd`; $(build)" @mkdir -p build/sid - @mv build/$(deb) build/sid - @rm -rf build/working &> /dev/null + @mv ../$(deb) build/sid publish: $(RELEASE_FILES) for release in $(releases); do ars-add -r $$release -g main build/$$release/$(deb); done -- 2.30.2