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

Re: How do I set a runtime variable in debian/rules



Dirk Eddelbuettel <edd@rosebud.ml.org> writes:

> Yes, you can use 
> 
>     this_dir        = $(shell pwd)

You might want to make this

  this_dir := $(shell pwd)

just to make sure it's expanded when it's assigned (assuming I
understand GNU make's assignment rules correctly).  I think many times
people mean := when they say =.

-- 
Rob Browning <rlb@cs.utexas.edu>
PGP fingerprint = E8 0E 0D 04 F5 21 A0 94  53 2B 97 F5 D6 4E 39 30


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: