]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Undo the changes to the Makefile to use git-archive when building .debs.
authorAndrew Ruthven <andrew@etc.gen.nz>
Sun, 18 Nov 2007 21:43:26 +0000 (10:43 +1300)
committerAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Sun, 18 Nov 2007 21:43:26 +0000 (10:43 +1300)
This just made the makefile more complicated with no real benefit.

Makefile

index 51e6264016cdf1426c3d57c361e3db4c5bf77720..4fc1fc57ce3710338da1419a1315466c5a5831e1 100644 (file)
--- 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