summaryrefslogtreecommitdiff
path: root/setup.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-05-25 00:01:35 -0700
committerMichael Forney <mforney@mforney.org>2021-05-27 01:19:21 -0700
commitf910bf367cb5c1244b8339c34f05c06526310a9a (patch)
tree17aa06a786ec34f9906f3fd55d3b135ab754aa80 /setup.lua
parent87f393d52187d6e5350b612747d1850a201e9eaf (diff)
Rename some fspec files
Diffstat (limited to 'setup.lua')
-rwxr-xr-xsetup.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/setup.lua b/setup.lua
index 08408ed9..8a388325 100755
--- a/setup.lua
+++ b/setup.lua
@@ -110,11 +110,11 @@ local function gen(gendir)
build('empty', '$outdir/root.index')
end
if next(pkg.inputs.fspec) then
- build('cat', '$outdir/root.fspec', pkg.inputs.fspec, {
- description = ' FSPEC $outdir/root.fspec',
+ build('cat', '$outdir/tree.fspec', pkg.inputs.fspec, {
+ description = ' FSPEC $outdir/tree.fspec',
})
else
- build('empty', '$outdir/root.fspec')
+ build('empty', '$outdir/tree.fspec')
end
build('phony', '$dir/root', pkg.inputs.root)
io.close()
@@ -129,7 +129,7 @@ function subgen(dir)
subninja(file)
table.insert(pkg.inputs.ninja, '$gendir/'..dir..'/ninja')
table.insert(pkg.inputs.index, '$outdir/'..dir..'/root.index')
- table.insert(pkg.inputs.fspec, '$outdir/'..dir..'/root.fspec')
+ table.insert(pkg.inputs.fspec, '$outdir/'..dir..'/tree.fspec')
local cmd = ('exec test -f %s/%s/local.ninja'):format(pkg.gendir, dir)
if recurse or not os.execute(cmd) then
local oldpkg, oldout = pkg, io.output()