Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Question Building Deb Packages

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:13

Jon Loeliger [off-list ref] 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*.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help