git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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 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*.
Previous: Jon Loeliger
Message 2 of 2 in “Question Building Deb Packages”
  1. Jon LoeligerNov 22, 2005
  2. Junio C HamanoNov 22, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.