From: Junio C Hamano Date: Tue, 22 Nov 2005 05:01:49 GMT Subject: Re: Question Building Deb Packages Message-ID: <7vr799i8ci.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Jon Loeliger writes: > It _appears_ that the "deb" make target requires it to be > done in an actual git repository. I think we could cheat: $ tar zxf original-tarball-of-0.99.9j.tar.gz $ cd there $ fakeroot debian/rules binary But you are right; "make deb" at the toplevel would not work well on a virgin machine, because it uses git-tar-tree to do the tarball construction; we inherited this braindamage from RPM building procedure. So if you do not want to cheat: $ tar zxf original-tarball-of-0.99.9j.tar.gz $ cd there $ make install ;# to install in $HOME/bin $ cd .. $ git clone git://kernel.org/pub/scm/git/git.git/ $ git checkout -b build v0.99.9j $ make deb Then install the resulting deb and get rid of $HOME/bin/git*.