On Thu, 2012-10-25 at 11:53:47 -0700, Jonathan Nieder wrote:
> Matthias Klose wrote:
> > A lot of rules files uses loops around configure calls, however there's no
> > export mode which escapes the spaces in the output. Please add one. The sh 
> > mode
> > won't work either for this case.
> 
> Doesn't
> 
>       set -e; \
>       eval "$$(dpkg-buildflags --export=sh)"; \
>       for v in $(versions); \
>       do \
>               ... \
>       done
> 
> work?

Or just “$(shell dpkg-buildflags --export=configure)”? I do not really
see a problem here. I might be missing something else going on, but
otherwise I'll be closing this report in a bit.

(In addition using $(shell) allows to set a variables once per
Makefile, and not once per loop.)

thanks,
guillem


--
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to