Pages

Sunday, January 11, 2009

Passing platform info in debian/rules

Need to Find a better way of passing the results of uname -m to the "dh_install" lines in debian/rules. It is used as part of the path in the install lines in order to find the platform part of the path, like x86_64 or i686.
Tried defining a variable just before the install section but couldn't get that to work; possibly because how I was trying to do it will not work within a make target. Define it completely outside of the target rule? (At the beginning of the file, with the other definitions?)
Set variable for hardware platform at beginning of debian/rules and use that variable in the installation lines (r219):
> HW := $(shell uname -m)


(http://rocasa.org/trac/syncdeb/ticket/12)

No comments:

Post a Comment