Skip to content

Commit

Permalink
docs/man/meson.build: Use -N for help2man to avoid texinfo section
Browse files Browse the repository at this point in the history
If -N option is not added, the following section will be appended
to the generated man pages:

SEE ALSO
       The  full documentation for Timeshift is maintained as a Texinfo manual.  If the info and Timeshift programs are properly installed
       at your site, the command

              info Timeshift

       should give you access to the complete manual.

This is not desired, thus add the -N option to the help2man
invocation.

Signed-off-by: Boyuan Yang <byang@debian.org>
  • Loading branch information
hosiet committed Jul 25, 2023
1 parent e7fab11 commit 4985a80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/man/meson.build
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
help2man = find_program('help2man')

mans = [
['timeshift', [help2man, '--output=@OUTPUT@', timeshift]],
['timeshift-gtk', [help2man, '--output=@OUTPUT@', timeshift_gtk]],
['timeshift', [help2man, '-N', '--output=@OUTPUT@', timeshift]],
['timeshift-gtk', [help2man, '-N', '--output=@OUTPUT@', timeshift_gtk]],
]

foreach man: mans
Expand Down

0 comments on commit 4985a80

Please sign in to comment.