From a18b7108f1648dc69e06bb21e84ec48a2dd60f60 Mon Sep 17 00:00:00 2001 From: dacctal Date: Mon, 22 Jun 2026 07:33:06 +0000 Subject: command line args are much nicer, and versions are properly disciplined --- bldit.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bldit.lua') diff --git a/bldit.lua b/bldit.lua index 9967448..d2b503b 100644 --- a/bldit.lua +++ b/bldit.lua @@ -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, }, } -- cgit v1.2.3