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

Re: Getting dh_install to do what we need



Steve Langasek wrote:
> While I had originally believed this to be the case when drafting
> <http://wiki.debian.org/Multiarch/Implementation>, feedback from those
> implementing this in practice is that dh does *not* export these variables,
> it only passes them to autoconf.

That's not correct, dh exports the variables. (You made me look though.)

joey@gnu:~/src/filters>head -n2 Makefile
build:
	echo ${CPPFLAGS}
joey@gnu:~/src/filters>echo 9 > debian/compat
joey@gnu:~/src/filters>debian/rules build
dh build
   dh_testdir
   dh_auto_configure
   dh_auto_build
make[1]: Entering directory `/home/joey/src/filters'
echo -D_FORTIFY_SOURCE=2
-D_FORTIFY_SOURCE=2

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: