Skip to content

Commit c58e258

Browse files
committed
Add rootdir to justfile
1 parent f80f4a2 commit c58e258

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

justfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ export APPID := 'io.github.rwxroot.' + NAME
99
cargo-target-dir := env('CARGO_TARGET_DIR', 'target')
1010
bin-src := cargo-target-dir / 'release' / NAME
1111

12-
base-dir := '/usr'
12+
rootdir := ''
13+
prefix := '/usr'
14+
15+
base-dir := absolute_path(clean(rootdir / prefix))
1316
share-dst := base-dir / 'share'
1417

1518
bin-dst := base-dir / 'bin' / NAME

0 commit comments

Comments
 (0)