[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building a new debian package



Hi,

you posted to the debian developers list. Please send questions of
this kind to debian-mentors@lists.debian.org where beginners questions
are welcome (cc is set in this mail).

To answer your question: You have to set the DESTDIR variable when you
install the binaries in the package build directory. Most probably 
this means calling "make install --destdir=debian/name-of-package"
instead of just "make install"

-Ralf.

On Sat, Sep 22, 2001 at 05:24:43PM +0200, Søren Boll Overgaard wrote:
> # Edited for Debian GNU/Linux.
> DESTDIR =
> 
> [...]
> prefix = /usr/local
> exec_prefix = ${prefix}
> #exec_prefix = $(DESTDIR)/usr/X11R6/bin
> #bindir = ${exec_prefix}/bin
> bindir = $(DESTDIR)/usr/X11R6/bin
> sbindir = ${exec_prefix}/sbin
> [...]
> 
> And debian/rules contains the following for the configure command:
> 
> [...]
> configure-stamp:
>         dh_testdir
>         # Add here commands to configure the package.
> #       ./configure --prefix=/usr --mandir=\$${prefix}/share/man
> --infodir=\$${p
> refix}/share/info
>         ./configure 
> 
>         touch configure-stamp
> 
> [...]
> 
> However, even with the above parameters, the binary is installed in /bin/,
> which in this case is not desirable.
> Any input would be greatly appreciated.
> 
> -- 
> Søren O.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 



Reply to: