diff options
| author | ruki <[email protected]> | 2026-02-07 00:38:01 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-02-07 00:38:01 +0800 |
| commit | b9e7cdc673102d0ca97e271be273a16358ed158e (patch) | |
| tree | 94043a3c7ec361c85d4ffdeac4af949063def9ff /xmake/actions/install/xmake.lua | |
| parent | 41d6a48953038df041194bafc7cc87a7e6466b3e (diff) | |
add libdir,includedir,bindir support for install/uninstall
Diffstat (limited to 'xmake/actions/install/xmake.lua')
| -rw-r--r-- | xmake/actions/install/xmake.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/actions/install/xmake.lua b/xmake/actions/install/xmake.lua index a18b11214..3ef6a22c3 100644 --- a/xmake/actions/install/xmake.lua +++ b/xmake/actions/install/xmake.lua @@ -31,6 +31,9 @@ task("install") " $ xmake install -o /usr/local", "or $ DESTDIR=/usr/local xmake install", "or $ INSTALLDIR=/usr/local xmake install" }, + {nil, "bindir", "kv", nil , "Set install binaries directory in INSTALLDIR/DIR. (default: ${installdir}/bin)"}, + {nil, "libdir", "kv", nil , "Set install libraries directory in INSTALLDIR/DIR. (default: ${installdir}/lib)"}, + {nil, "includedir", "kv", nil , "Set install includes directory in INSTALLDIR/DIR. (default: ${installdir}/include)"}, {'g', "group", "kv", nil , "Install all targets of the given group. It support path pattern matching.", "e.g.", " xmake install -g test", @@ -51,5 +54,3 @@ task("install") } } - - |
