Re: CDBS and DESTDIR

2005-03-23 Thread Nico Golde
Hello Sven, * Sven Mueller <[EMAIL PROTECTED]> [2005-03-23 15:30]: > Nico Golde wrote on 22/03/2005 20:04: > >Isn't DESTDIR obsolete, if the script understands prefix? > >regards nico > > Not necessarily. Many source Packages (read: upstream source) understand > prefix, but only take that into a

Re: CDBS and DESTDIR

2005-03-23 Thread Sven Mueller
Nico Golde wrote on 22/03/2005 20:04: Isn't DESTDIR obsolete, if the script understands prefix? regards nico Not necessarily. Many source Packages (read: upstream source) understand prefix, but only take that into account for binaries (and use a different one for data files or manpages). Furtherm

Re: CDBS and DESTDIR

2005-03-23 Thread Nico Golde
HI, * Arjan Oosting <[EMAIL PROTECTED]> [2005-03-22 19:51]: > oP DI, 22-03-2005 te 12:04 -0300, schreef Nelson A. de Oliveira: > > -BEGIN PGP SIGNED MESSAGE- > > I have used that because I saw on a debian-mentors list archive. > > (http://lists.debian.org/debian-mentors/2004/07/msg00392.htm

Re: CDBS and DESTDIR

2005-03-22 Thread Nelson A. de Oliveira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mattia Dongili wrote: |>>- why are you trying to install 'bin/ali2gff' instead of 'ali2gff' only? |> |>Because all binary files are on bin/ directory. | | | yes but you're already mentioning the 'bin' directory in the last part | of your install invocat

Re: CDBS and DESTDIR

2005-03-22 Thread Mattia Dongili
On Tue, Mar 22, 2005 at 05:13:38PM -0300, Nelson A. de Oliveira wrote: > Hi > > Mattia Dongili wrote: > >some (hopefully) usefull notes: > >- why are you trying to install 'bin/ali2gff' instead of 'ali2gff' only? > > Because all binary files are on bin/ directory. yes but you're already mentioni

Re: CDBS and DESTDIR

2005-03-22 Thread Nelson A. de Oliveira
Hi Mattia Dongili wrote: some (hopefully) usefull notes: - why are you trying to install 'bin/ali2gff' instead of 'ali2gff' only? Because all binary files are on bin/ directory. - why not using /usr/bin/install for everything when copying files, it has useful features, eg: -D create all le

Re: CDBS and DESTDIR

2005-03-22 Thread Nelson A. de Oliveira
Hubert Chan wrote: "Nelson" == Nelson A de Oliveira <[EMAIL PROTECTED]> writes: Nelson> #!/usr/bin/make -f Nelson> DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes Nelson> DEB_DESTDIR = $(CURDIR)/debian/gff2aplot Nelson> DEB_MAKE_CLEAN_TARGET:= clean Nelson> DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(DE

Re: CDBS and DESTDIR

2005-03-22 Thread Hubert Chan
> "Nelson" == Nelson A de Oliveira <[EMAIL PROTECTED]> writes: Nelson> #!/usr/bin/make -f Nelson> DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes Nelson> DEB_DESTDIR = $(CURDIR)/debian/gff2aplot Nelson> DEB_MAKE_CLEAN_TARGET:= clean Nelson> DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(DEB_DESTDIR)

Re: CDBS and DESTDIR

2005-03-22 Thread Mattia Dongili
On Tue, Mar 22, 2005 at 01:45:25PM -0300, Nelson A. de Oliveira wrote: > Hi > > Arjan Oosting wrote: > >Op di, 22-03-2005 te 12:04 -0300, schreef Nelson A. de Oliveira: [...] > Since it doesn't have DESTDIR, I have created a patch (available here: > http://biolinux.df.ibilce.unesp.br/naoliv/cdbs/0

Re: CDBS and DESTDIR

2005-03-22 Thread Nelson A. de Oliveira
Hi Sven Mueller wrote: The original Makefile is available here: http://biolinux.df.ibilce.unesp.br/naoliv/cdbs/Makefile Since it doesn't have DESTDIR, I have created a patch (available here: http://biolinux.df.ibilce.unesp.br/naoliv/cdbs/01-makefile.diff) Your Patch adds DESTDIR support to the ins

Re: CDBS and DESTDIR

2005-03-22 Thread Sven Mueller
Nelson A. de Oliveira wrote on 22/03/2005 17:45: Hi Arjan Oosting wrote: Op di, 22-03-2005 te 12:04 -0300, schreef Nelson A. de Oliveira: -BEGIN PGP SIGNED MESSAGE- I have used that because I saw on a debian-mentors list archive. (http://lists.debian.org/debian-mentors/2004/07/msg00392.htm

Re: CDBS and DESTDIR

2005-03-22 Thread Nelson A. de Oliveira
Hi Arjan Oosting wrote: Op di, 22-03-2005 te 12:04 -0300, schreef Nelson A. de Oliveira: -BEGIN PGP SIGNED MESSAGE- I have used that because I saw on a debian-mentors list archive. (http://lists.debian.org/debian-mentors/2004/07/msg00392.html) Even when using DEB_MAKE_INSTALL_TARGET := inst

Re: CDBS and DESTDIR

2005-03-22 Thread Arjan Oosting
Op di, 22-03-2005 te 12:04 -0300, schreef Nelson A. de Oliveira: > -BEGIN PGP SIGNED MESSAGE- > I have used that because I saw on a debian-mentors list archive. > (http://lists.debian.org/debian-mentors/2004/07/msg00392.html) > > Even when using > DEB_MAKE_INSTALL_TARGET := install DESTDIR

Re: CDBS and DESTDIR

2005-03-22 Thread Nelson A. de Oliveira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Nico, |>#!/usr/bin/make -f |> |>DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes |>DEB_DESTDIR = $(CURDIR)/debian/gff2aplot |>DEB_MAKE_CLEAN_TARGET:= clean |>DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(DEB_DESTDIR) prefix=$(DEB_DESTDIR) | | why do you use

Re: CDBS and DESTDIR

2005-03-22 Thread Nico Golde
Hello Nelson, * Nelson A. de Oliveira <[EMAIL PROTECTED]> [2005-03-22 12:05]: [...] > #!/usr/bin/make -f > > DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes > DEB_DESTDIR = $(CURDIR)/debian/gff2aplot > DEB_MAKE_CLEAN_TARGET:= clean > DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(DEB_DESTDIR) > prefix

CDBS and DESTDIR

2005-03-21 Thread Nelson A. de Oliveira
Hi Mentors I am having a small problem. I am using CDBS to create a package, but something is happening: cp bin/ali2gff /bin/ cp: cannot create regular file `/bin/ali2gff': Permission denied make[1]: *** [installbin] Error 1 This is when running dpkg-buildpackage When doing a "make install DES