diff options
| author | dacctal <dacctal@symlinx.net> | 2026-06-22 07:33:06 +0000 |
|---|---|---|
| committer | dacctal <dacctal@symlinx.net> | 2026-06-22 07:33:06 +0000 |
| commit | a18b7108f1648dc69e06bb21e84ec48a2dd60f60 (patch) | |
| tree | 1693a64a18913d751b0e9a23609218bf0d24f01c /bldit.lua | |
| parent | 7cde9aeb5dccce578c1eed13cf1ed2c61e446800 (diff) | |
command line args are much nicer, and versions are properly disciplined1.0.0
Diffstat (limited to 'bldit.lua')
| -rw-r--r-- | bldit.lua | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -17,24 +17,24 @@ global_dependencies = { targets = { default = { build = function() - os.execute("make") + return os.execute("make") end, install = function() - os.execute("make install") + return os.execute("make install PREFIX="..prefix) end, uninstall = function() - os.execute("make uninstall") + return os.execute("make uninstall PREFIX="..prefix) end, }, quiet = { build = function() - local output = io.popen("make"):read("*a") + return os.execute("make &>/tmp/pkgit_build.log") end, install = function() - local output = io.popen("make install"):read("*a") + return os.execute("make install PREFIX="..prefix.." &>/tmp/pkgit_build.log") end, uninstall = function() - local output = io.popen("make uninstall"):read("*a") + return os.execute("make uninstall PREFIX="..prefix.." &>/tmp/pkgit_build.log") end, }, } |
