Skip to content

Commit

Permalink
build: rename -Dman-page (singular) to -Dman-pages (plural)
Browse files Browse the repository at this point in the history
Avoid typos when creating a package for this project using another
package as a template. Plural option name is more popular e.g.,

- cage
- grim
- gtk4
- kanshi
- libdrm
- seatd
- slurp
- swappy
- sway
- swaybg
- swayidle
- swaylock
- waybar
- waypipe
- wlogout
  • Loading branch information
jbeich committed Aug 19, 2020
1 parent c633c09 commit 8551da1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ test('parse-input', executable(
include_directories: [wob_inc]
))

scdoc = dependency('scdoc', version: '>=1.9.2', native: true, required: get_option('man-page'))
scdoc = dependency('scdoc', version: '>=1.9.2', native: true, required: get_option('man-pages'))
if scdoc.found()
scdoc = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true)
sh = find_program('sh', native: true)
Expand Down
2 changes: 1 addition & 1 deletion meson_options.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
option('man-page', type: 'feature', value: 'auto', description: 'Generate and install man page')
option('man-pages', type: 'feature', value: 'auto', description: 'Generate and install man pages')
option('seccomp', type: 'feature', value: 'auto', description: 'Use seccomp on Linux')

0 comments on commit 8551da1

Please sign in to comment.