Re: How do I set a runtime variable in debian/rules
Oliver Elphick <email@example.com> wrote:
> So, is there any way to set a variable in a makefile to `pwd` but only
> have it evaluated once?
If you don't mind a gnu-ism, use := instead of =
If you want maximum portability, recursively invoke make (using a
phony target the first time around) setting the variable in
the secondary make invocation (and, of course, with a target that
actually does someting).
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .