Skip to content

Commit

Permalink
Merge branch 'luc14n0-add-man-subdir-to-meson'
Browse files Browse the repository at this point in the history
  • Loading branch information
rofirrim committed Dec 6, 2022
2 parents 41e149e + bd53a9c commit 1021875
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion man/meson.build
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
install_man('eiciel.1')
want_man = get_option('man')

if want_man
install_man('eiciel.1')
endif
3 changes: 3 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ subdir('img')
# Documentation
subdir('doc')

# Manpage(s)
subdir('man')

# GNOME post-install duties
gnome.post_install(gtk_update_icon_cache : true)

Expand Down
3 changes: 3 additions & 0 deletions meson_options.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
option('man', type : 'boolean',
value : 'true',
description : 'Install man page(s)')
option('user-attributes',
type : 'feature',
value : 'enabled',
Expand Down

0 comments on commit 1021875

Please sign in to comment.