From b0dafd8b6f3402621b074f1d934f0ba9eb9843a8 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Tue, 2 Jan 2024 14:13:25 -0700 Subject: replace tail component of src with srcsection in man() This is useful when man() is called with the optional 'section' parameter and can be used to replace components such as '.nro' with a '.(section)'. This was always the intention and fixes man page names for pciutils. Co-authored-by: Michael Forney --- pkg/tinyalsa/gen.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/tinyalsa/gen.lua') diff --git a/pkg/tinyalsa/gen.lua b/pkg/tinyalsa/gen.lua index d1713458..d20c45a5 100644 --- a/pkg/tinyalsa/gen.lua +++ b/pkg/tinyalsa/gen.lua @@ -27,7 +27,7 @@ lib('libtinyalsa.a', [[ for _, tool in ipairs{'tinycap', 'tinymix', 'tinypcminfo', 'tinyplay'} do file('bin/'..tool, '755', exe(tool, {'utils/'..tool..'.c', 'libtinyalsa.a'})) - man{'$srcdir/utils/'..tool..'.1'} + man{'utils/'..tool..'.1'} end fetch 'git' -- cgit v1.2.3