Cleaned bldit.lua and fixed prefix handling
This commit is contained in:
parent
4ab55ccb45
commit
ef22e9190e
1 changed files with 2 additions and 4 deletions
|
|
@ -3,8 +3,6 @@ package_version = "1.1.3"
|
|||
|
||||
dependencies = {}
|
||||
|
||||
exec_name = "ray"
|
||||
|
||||
targets = {
|
||||
default = {
|
||||
build = function()
|
||||
|
|
@ -29,11 +27,11 @@ targets = {
|
|||
return 0
|
||||
end,
|
||||
install = function()
|
||||
e,h,c = os.execute("make install")
|
||||
e,h,c = os.execute("make install PREFIX="..prefix)
|
||||
return c or 0
|
||||
end,
|
||||
uninstall = function()
|
||||
e,h,c = os.execute("make uninstall")
|
||||
e,h,c = os.execute("make uninstall PREFIX="..prefix)
|
||||
return c or 0
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue