Re: How do I set a runtime variable in debian/rules
Oliver> So, is there any way to set a variable in a makefile to `pwd` but
Oliver> only have it evaluated once?
Yes, you can use
this_dir = $(shell pwd)
Kudos to Manoj as I sneaked this out of one of his debian/rules files. I use
it for variables as
debtmp = $(this_dir)/debian/tmp
debman = $(debtmp)/usr/man
debdoc = $(debtmp)/usr/doc/$(package)
deblib = $(debtmp)/usr/lib
Regards, Dirk
--
edd@rosebud.ml.org According to the latest official figures,
http://rosebud.ml.org/~edd 43% of all statistics are totally worthless.
--
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: