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

Re: building a new debian package



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Did you us dh_make to start the construction of your package?
Warren

On Saturday 22 September 2001 10:53, Ralf Treinen wrote:
> 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

- -- 
GPG Fingerprint: 30C8 BDF1 B133 14CB 832F  2C5D 99A1 A19F 559D 9E88
GPG Public Key @ http://www.cbu.edu/~wturkal/wturkal.gpg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7rLQ6maGhn1WdnogRAsjBAJ9l01AOfIgdmupe6kkTUFtSvXNz4wCfZKed
Lqe92aG66OK1BLFmKW244W0=
=O/T1
-----END PGP SIGNATURE-----



Reply to: