From 788fd7cdca9d681763a31df05b98a234733d3402 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 19 Apr 2019 23:55:00 +0800 Subject: fix install tips --- xmake/actions/install/install.lua | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/xmake/actions/install/install.lua b/xmake/actions/install/install.lua index 4431f3d78..095b35a18 100644 --- a/xmake/actions/install/install.lua +++ b/xmake/actions/install/install.lua @@ -97,6 +97,15 @@ end -- do install target function _do_install_target(target) + -- get install directory + local installdir = target:installdir() + if not installdir then + return + end + + -- trace + print("installing to %s ...", installdir) + -- the scripts local scripts = { @@ -123,14 +132,8 @@ function _on_install_target(target) return end - -- get install directory - local installdir = target:installdir() - if not installdir then - return - end - -- trace - print("installing %s to %s ...", target:name(), installdir) + print("installing %s ...", target:name()) -- build target with rules local done = false -- cgit v1.3.1