Your message dated Wed, 6 May 2009 12:45:27 -0400
with message-id <[email protected]>
and subject line Re: Bug#527256: please provide an easy way to override/add
arguments to MAKE calls
has caused the Debian Bug report #527256,
regarding please provide an easy way to override/add arguments to MAKE calls
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
527256: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527256
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 7.2.9
Severity: wishlist
Hi,
I have a package which needs me to pass 'PREFIX=/usr' to the $MAKE
call in the build rule and 'DESTDIR=$(CURDIR)/debian/package DOC="NEWS
TODO CONTRIBUTORS" PREFIX=/usr' in the install rule. I have not found
an easier way to achieve this with debhelper than using
override_dh_auto_build and override_dh_auto_install rules. However,
instead of overriding the complete $MAKE call, it would be nice if
there were environment variables that dh listens to which tell what
arguments are to be passed to $MAKE.
In my case this proposal would turn this debian/rules:
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_build:
$(MAKE) PREFIX=/usr
override_dh_auto_install:
$(MAKE) install DESTDIR=$(CURDIR)/debian/package DOC="NEWS TODO
CONTRIBUTORS" PREFIX=/usr
into for example this:
#!/usr/bin/make -f
DH_AUTO_BUILD_TARGET += PREFIX=/usr
DH_AUTO_INSTALL_TARGET += install PREFIX=/usr
DESTDIR=$(CURDIR)/debian/hot-babe DOC="NEWS TODO CONTRIBUTORS"
%:
dh $@
Cheers,
Fabian
--
Dipl.-Phys. Fabian Greffrath
Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum
Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail: [email protected]
--- End Message ---
--- Begin Message ---
Fabian Greffrath wrote:
> I have a package which needs me to pass 'PREFIX=/usr' to the $MAKE call
> in the build rule and 'DESTDIR=$(CURDIR)/debian/package DOC="NEWS TODO
> CONTRIBUTORS" PREFIX=/usr' in the install rule. I have not found an
> easier way to achieve this with debhelper than using
> override_dh_auto_build and override_dh_auto_install rules. However,
> instead of overriding the complete $MAKE call, it would be nice if there
> were environment variables that dh listens to which tell what arguments
> are to be passed to $MAKE.
That path leads to CDBS, and debhelper is not going there.
The override_dh_auto_build is a fine solution to this problem, since
it lets you customize the entire make call as well if necessary, and
it is very clear what it does and does not require learning a new
environment variable.
--
see shy jo
signature.asc
Description: Digital signature
--- End Message ---