mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git
synced 2024-11-14 14:33:44 +08:00
man: move manual pages in designated sub-folder
Move the files into designated place, so they're easier to find and reason with. While in here, simplify the install_man() call to only include the strings. Meson will convert them to files() and deduce the correct path based on the file extension. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
25a7abcec2
commit
86373efd93
@ -78,12 +78,7 @@ add_project_arguments('-include', 'config.h', language : 'c')
|
||||
#####################
|
||||
# man page generation
|
||||
#####################
|
||||
mandir = join_paths(get_option('prefix'), get_option('mandir'))
|
||||
man1dir = join_paths(mandir, 'man1')
|
||||
man8dir = join_paths(mandir, 'man8')
|
||||
|
||||
install_man(files('usb-devices.1', 'lsusb.py.1'), install_dir: man1dir)
|
||||
install_man(files('lsusb.8', 'usbhid-dump.8'), install_dir: man8dir)
|
||||
install_man(['man/lsusb.8', 'man/lsusb.py.1', 'man/usb-devices.1', 'man/usbhid-dump.8'])
|
||||
|
||||
|
||||
##########################
|
||||
|
Loading…
Reference in New Issue
Block a user