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/pciutils/gen.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg/pciutils/gen.lua') diff --git a/pkg/pciutils/gen.lua b/pkg/pciutils/gen.lua index 997193f6..0b3971ec 100644 --- a/pkg/pciutils/gen.lua +++ b/pkg/pciutils/gen.lua @@ -37,7 +37,7 @@ exe('lspci', { 'libpci.a', }) file('bin/lspci', '755', '$outdir/lspci') -man({'$srcdir/lspci.man'}, '8') +man({'lspci.man'}, '8') exe('setpci', { 'setpci.c', @@ -45,9 +45,9 @@ exe('setpci', { 'libpci.a', }) file('bin/setpci', '755', '$outdir/setpci') -man({'$srcdir/setpci.man'}, '8') +man({'setpci.man'}, '8') file('share/pci.ids', '644', '$srcdir/pci.ids') -man({'$srcdir/pci.ids.man'}, '5') +man({'pci.ids.man'}, '5') fetch 'git' -- cgit v1.2.3