Re: Question Building Deb Packages
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 22, 2005, 05:01 UTC
- Message-ID
- <7vr799i8ci.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <E1EeOHi-0007Bx-HH@jdl.com>
Jon Loeliger <jdl@freescale.com> 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 binaryBut 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 debThen install the resulting deb and get rid of $HOME/bin/git*.