Re: Override dh_builddeb destdir causes dpkg-genbuildinfo to fail

2021-11-01 Thread Andrey Rahmatullin
On Mon, Nov 01, 2021 at 09:24:29PM +, Kerry wrote: > I get a binary .deb in the parent directory of my application directory. > I would like to change this so that all .debs are placed in a different > directory so I tried overriding 'dh_builddeb' in 'rules': d/rules is a wrong place for this,

Override dh_builddeb destdir causes dpkg-genbuildinfo to fail

2021-11-01 Thread Kerry
'dh_builddeb' in 'rules': override_dh_builddeb:     mkdir ./deb_package     dh_builddeb --destdir=./deb_package This successfully puts the package in the desired directory but the next stage of the packaging fails: dh_gencontrol dpkg-gencontrol: warning: unknown information field &#x

Re: DESTDIR Support for debian/install

2013-11-15 Thread T o n g
fix it? > > It looks like you're installing (from upstream) directly into > debian/glimpse... > > debhelper, however, defaults to running make install > DESTDIR=debian/$(PACKAGE) when the source package builds only one binary > package. > > So, you have a few optio

Re: DESTDIR Support for debian/install

2013-11-15 Thread Russ Allbery
directory (or whereever you've told it to look using --sourcedir). debhelper, however, defaults to running make install DESTDIR=debian/$(PACKAGE) when the source package builds only one binary package. So, you have a few options: 1. Override the default dh_auto_install rule to pass

DESTDIR Support for debian/install

2013-11-15 Thread T o n g
On Mon, 11 Nov 2013 12:11:53 -0800, Russ Allbery wrote: > Upstream doesn't appear to support DESTDIR in their build system and is > just trying to install things directly under prefix. You can possibly > work around this by setting prefix to $(CURDIR)/debian/tmp, but this >

Re: Gettext and $DESTDIR$prefix

2012-01-10 Thread Paul Wise
On Tue, Jan 10, 2012 at 10:56 PM, Andreas Rönnquist wrote: > I am making a package (which I am upstream of) translatable using > gettext - It is using a simple Makefile as build system, no autotools. > > Is there a way to come around the necessity to get LOCALEDIR (Which > is basi

Gettext and $DESTDIR$prefix

2012-01-10 Thread Andreas Rönnquist
Hi! I am making a package (which I am upstream of) translatable using gettext - It is using a simple Makefile as build system, no autotools. Is there a way to come around the necessity to get LOCALEDIR (Which is basically ${DESTDIR}{$prefix}/share/locale) from the Makefile to the C source? In

DESTDIR-awareness [Was: Re: RFS: b43-fwcutter (updated package)]

2011-03-09 Thread Peter Pentchev
ot;/usr/local/bin/b43-fwcutter": > Permission denied > make[1]: *** [install] Error 1 > > Why is it installing under /usr/local, anyway? In the upstream Makefile you > should replace > >PREFIX ?= /usr/local > > with > >PREFIX ?= $(DESTDIR)/usr

Re: DESTDIR?

2008-08-10 Thread Romain Beauxis
Le Monday 11 August 2008 01:37:52 John G. Heim, vous avez écrit : > The program I'm working on uses a configure script to build a Makefile. So > I need to change it to install the binary into /usr/bin instead of > /usr/local/bin. But the new maintainer's guied says to put $(DES

DESTDIR?

2008-08-10 Thread John G. Heim
l/bin. But the new maintainer's guied says to put $(DESTDIR) in front of the directory names. Like: BIN = $(DESTDIR)/usr/bin But the Makefile already uses that variable name. What is the point of using $(DESTDIR) in maintaining the Makefile? -- To UNSUBSCRIBE, email to [

Re: All files are in DESTDIR but non will be copied into the packages

2005-11-11 Thread Timo Steuerwald
Justin Pryzby wrote: It _used to_ be the case that it was an environment variable set (and exported) by ./debian/rules, but then people realized that under this configuration, debhelper would behave differently when run by the makefile than it would when run manually (for testing, debugging,

Re: All files are in DESTDIR but non will be copied into the packages

2005-11-11 Thread Justin Pryzby
Timo Steuerwald: > >Timo Steuerwald: > >>I try to create packages for sipX from sipfoundry.org. This is a PBX > >>like asterisk and is composed of a few subprojects like sipXportLib, > >>sipXtackLib... > >>I now tried to create a package for sipXportLib. > >Firstly, you should know that ./debian/

Re: All files are in DESTDIR but non will be copied into the packages

2005-11-11 Thread Timo Steuerwald
libs, nothing. The same for the -dev package: No documentation, include files and so on. If I look now to the debian subdirectory, there are three subdirectories tmp (which is my DESTDIR in the rules file), sipxportlib and sipxportlib-dev. The last two only contain the same files as in the packages.

Re: All files are in DESTDIR but non will be copied into the packages

2005-11-10 Thread Christoph Haas
You may want to read it. E.g. dh_install is copying files from your source directory into the directory where the Debian package will be built. And there is a file like debian/$PACKAGE.install which lists files installed by dh_install. > If I look now to the debian subdirectory, there are

Re: All files are in DESTDIR but non will be copied into the packages

2005-11-10 Thread Justin Pryzby
o on. > If I look now to the debian subdirectory, there are three subdirectories > tmp (which is my DESTDIR in the rules file), sipxportlib and > sipxportlib-dev. The last two only contain the same files as in the > packages. What can I do to add the files from DESTDIR to the two &

All files are in DESTDIR but non will be copied into the packages

2005-11-10 Thread Timo Steuerwald
the debian subdirectory (like usr/share/doc/sipxportlib/copyright). No libs, nothing. The same for the -dev package: No documentation, include files and so on. If I look now to the debian subdirectory, there are three subdirectories tmp (which is my DESTDIR in the rules file), sipxportlib and

Re: another DESTDIR in Makefile

2005-04-10 Thread jano kupec
On Sun, 2005-04-10 at 14:18 +0200, jano kupec wrote: > Hi there, > > the application i'm packaging uses qmake to generate the Makefile. But > qmake uses its own DESTDIR variable (which points to where the binary > target should go), so it conflicts with DESTDIR used by

another DESTDIR in Makefile

2005-04-10 Thread jano kupec
Hi there, the application i'm packaging uses qmake to generate the Makefile. But qmake uses its own DESTDIR variable (which points to where the binary target should go), so it conflicts with DESTDIR used by dpkg-buildpackage. How can i get around this? I invoke qmake in debian/rules conf

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 &

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 man

Re: CDBS and DESTDIR

2005-03-23 Thread Nico Golde
an-mentors/2004/07/msg00392.html) > > > > Even when using > > DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(DEB_DESTDIR) > > I had no sucess. > > This should work, but are you sure the upstream Makefile of your package > understands DESTDIR? If not you should patc

Re: CDBS and DESTDIR

2005-03-22 Thread Nelson A. de Oliveira
7; directory in the last part | of your install invocation. | Quoting your diff: | | /usr/bin/install -s -m 755 bin/ali2gff $(DESTDIR)/bin/ |^^^ | |>>- why not using /usr/bin/install for everything when copying files, it has |>Because there i

Re: CDBS and DESTDIR

2005-03-22 Thread Mattia Dongili
are on bin/ directory. yes but you're already mentioning the 'bin' directory in the last part of your install invocation. Quoting your diff: /usr/bin/install -s -m 755 bin/ali2gff $(DESTDIR)/bin/ ^^^ > >- why not using /usr/bin/instal

Re: CDBS and DESTDIR

2005-03-22 Thread Nelson A. de Oliveira
les are perl scripts. Install says something about not possible to strip the perl files. last but not least you could set up DESTDIR this way: INSTALLDIR = $(DESTDIR)$(LBIN) at the beginning of the Makefile, then you can forget it :) then either use /usr/bin/install as said above or leave the original

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_IN

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_I

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.i

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 t

Re: CDBS and DESTDIR

2005-03-22 Thread Sven Mueller
.html) Even when using DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(DEB_DESTDIR) I had no sucess. This should work, but are you sure the upstream Makefile of your package understands DESTDIR? If not you should patch the upstream Makefile. Maybe you could send the upstream Makefile so we can have a look

Re: CDBS and DESTDIR

2005-03-22 Thread Nelson A. de Oliveira
:= install DESTDIR=$(DEB_DESTDIR) I had no sucess. This should work, but are you sure the upstream Makefile of your package understands DESTDIR? If not you should patch the upstream Makefile. Maybe you could send the upstream Makefile so we can have a look? OK. The original Makefile is available here

Re: CDBS and DESTDIR

2005-03-22 Thread Arjan Oosting
_TARGET := install DESTDIR=$(DEB_DESTDIR) > I had no sucess. This should work, but are you sure the upstream Makefile of your package understands DESTDIR? If not you should patch the upstream Makefile. Maybe you could send the upstream Makefile so we can have a look? Greetings Arjan Oosting sign

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)

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 := insta

CDBS and DESTDIR

2005-03-21 Thread Nelson A. de Oliveira
ke install DESTDIR=/tmp": cp bin/ali2gff /tmp/bin/ cp: cannot create regular file `/tmp/bin/ali2gff': No such file or directory make: *** [installbin] Error 1 It is getting the DESTDIR variable OK. So I think that the problem is not om the Makefile. My debian/rules is this:

Re: DESTDIR and .conf file

2005-03-09 Thread martin f krafft
[sorry for the AOL re: DH_COMPAT mode 3 and dh_installdeb] also sprach Justin Pryzby <[EMAIL PROTECTED]> [2005.03.09.0036 +0100]: > If a file is provided by the package, then it is a conffile and > not only a configuration file. Yes. > OTOH, if maintainer scripts create the file (possibly from >

Re: DESTDIR and .conf file

2005-03-09 Thread martin f krafft
also sprach Justin Pryzby <[EMAIL PROTECTED]> [2005.03.08.2315 +0100]: > Yes. This makes it a "configuration file". If you want it to be a > conffile (which I suspect you do), you should also list it in > debian/conffiles. This is actually not necessary if you use dh_installdeb. Since DH_COMPAT

Re: DESTDIR and .conf file

2005-03-08 Thread Justin Pryzby
On Tue, Mar 08, 2005 at 08:11:24PM -0300, Lucas Wall wrote: > On 03/08/2005 07:15 PM, Justin Pryzby wrote: > >On Tue, Mar 08, 2005 at 11:02:19PM +0100, Rakotomandimby (R12y) Mihamina > >wrote: > >>2 ) > >> > >>To install the configuration file, I append to what I written (in the > >>"inst

Re: DESTDIR and .conf file

2005-03-08 Thread Lucas Wall
On 03/08/2005 07:15 PM, Justin Pryzby wrote: On Tue, Mar 08, 2005 at 11:02:19PM +0100, Rakotomandimby (R12y) Mihamina wrote: 2 ) To install the configuration file, I append to what I written (in the "install" section yet: cp minimalist.conf-sample debian/minimalist/etc/minimalist.co

Re: DESTDIR and .conf file

2005-03-08 Thread Justin Pryzby
On Tue, Mar 08, 2005 at 11:02:19PM +0100, Rakotomandimby (R12y) Mihamina wrote: > Hello, > I'm still learning to build debian package. > Following the Debian New Maintainer's guide. > There are two things I dont understand: > > 1 ) --- > I want that once the binary package is installed, the f

DESTDIR and .conf file

2005-03-08 Thread Rakotomandimby (R12y) Mihamina
Hello, I'm still learning to build debian package. Following the Debian New Maintainer's guide. There are two things I dont understand: 1 ) --- I want that once the binary package is installed, the file 'minimalist.pl' is into '/usr/bin'. To do so, I put these in the install section of my "ru

Re: change DESTDIR

2004-12-12 Thread David Moreno Garza
On Tue, 2004-12-07 at 23:39 +0100, Nico Golde wrote: > > I am trying to create a .deb file. If i do not change > > the rules, it create the correct .deb file. However, > > when i changed DESTDIR=/usr/tmp, it install all > > the stuff in /usr/tmp correctly, however did not

Re: change DESTDIR

2004-12-07 Thread martin f krafft
also sprach Yan <[EMAIL PROTECTED]> [2004.12.08.0209 +0100]: > I am trying to create a .deb file. If i do not change > the rules, it create the correct .deb file. However, > when i changed DESTDIR=/usr/tmp, it install all > the stuff in /usr/tmp correctly, however did not >

Re: change DESTDIR

2004-12-07 Thread Nico Golde
Hello Yan, * Yan <[EMAIL PROTECTED]> [2004-12-07 23:36]: > Hi: > I am trying to create a .deb file. If i do not change > the rules, it create the correct .deb file. However, > when i changed DESTDIR=/usr/tmp, it install all > the stuff in /usr/tmp correctly, however did not &

change DESTDIR

2004-12-07 Thread Yan
Hi: I am trying to create a .deb file. If i do not change the rules, it create the correct .deb file. However, when i changed DESTDIR=/usr/tmp, it install all the stuff in /usr/tmp correctly, however did not include those in the .deb.   Anyone can help?   THANKS. Yan

genchanges looks in .. even with dh_builddeb --destdir?

2004-01-05 Thread Allard Hoeve
Hi all, I am trying to package an internally used perl module for distribution amongst servers. This works well. The package builds and installs fine. The problem arises when I try to use the --destdir instruction with dh_builddeb. I would like the package to be available in my repository after

genchanges looks in .. even with dh_builddeb --destdir?

2004-01-05 Thread Allard Hoeve
Hi all, I am trying to package an internally used perl module for distribution amongst servers. This works well. The package builds and installs fine. The problem arises when I try to use the --destdir instruction with dh_builddeb. I would like the package to be available in my repository after

Re: DESTDIR

2001-08-03 Thread Baruch Even
* Pratik Sinha <[EMAIL PROTECTED]> [010803 13:38]: > what changes do i need to make to the Makefile of a package with respect to DESTDIR?? > > why does one need to make this changes?? (I'm not a Debian Developer, but an aspiring one) You are not forced to change the Makef

DESTDIR

2001-08-03 Thread Pratik Sinha
what changes do i need to make to the Makefile of a package with respect to DESTDIR?? why does one need to make this changes?? -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: DESTDIR

2001-08-03 Thread Baruch Even
* Pratik Sinha <[EMAIL PROTECTED]> [010803 13:38]: > what changes do i need to make to the Makefile of a package with respect to > DESTDIR?? > > why does one need to make this changes?? (I'm not a Debian Developer, but an aspiring one) You are not forced to change the Ma

DESTDIR

2001-08-03 Thread Pratik Sinha
what changes do i need to make to the Makefile of a package with respect to DESTDIR?? why does one need to make this changes?? --

Re: DESTDIR build problem

1999-01-19 Thread Josip Rodin
f the document is 0.6 or lower, please go to http://www.debian.org/~elphick/manuals.html/maint-guide/ > But it seems to me that the DESTDIR doesn't work. > Is there a mistake in the Makefiles or have I misunderstood > something of the build process. You missed one important part,

DESTDIR build problem

1999-01-19 Thread Stefan Karrmann
l, parallel or distributed executing real world applications. The Concurrent Clean Programming Development System is a special programming environment for Concurrent Clean. ---debian/control end--- But it seems to me that the DESTDIR doesn't work. Is there a mistake in the Makefiles or have

Re: DESTDIR in a native distro. How ?

1998-12-15 Thread Hamish Moffatt
On Tue, Dec 15, 1998 at 05:40:40PM +0900, Ionutz Borcoman wrote: > # Add here commands to compile the package. > $(MAKE) MY_DEBIAN_SYSTEM=1 > This way I get as much freedom as I want: > a. non-Debian users just give a make from the top dir. > b. Debian users give just dpkg-buildpackag

Re: DESTDIR in a native distro. How ?

1998-12-15 Thread Ionutz Borcoman
Hamish Moffatt wrote: > > On Tue, Dec 15, 1998 at 03:18:52PM +0900, Ionutz Borcoman wrote: > > How do I set the DESTDIR in my Makefile ? If a non-debian user will > > download the package, he/she will want to install my program in > > /usr/local. If he/she is a debian user

Re: DESTDIR in a native distro. How ?

1998-12-15 Thread Hamish Moffatt
On Tue, Dec 15, 1998 at 03:18:52PM +0900, Ionutz Borcoman wrote: > How do I set the DESTDIR in my Makefile ? If a non-debian user will > download the package, he/she will want to install my program in > /usr/local. If he/she is a debian user, the deb package should be > created from th

DESTDIR in a native distro. How ?

1998-12-15 Thread Ionutz Borcoman
Hi, How do I set the DESTDIR in my Makefile ? If a non-debian user will download the package, he/she will want to install my program in /usr/local. If he/she is a debian user, the deb package should be created from the tar.gz and files moved to completely different places, like /etc, /usr/X11R6