! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
build: manpage installed in the wrong directory
Status:
RESOLVED: FIXED
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description Michał Górny 2017-04-04 19:17:03 CEST
The src/Makefile.am states:

  manualdir = $(prefix)/man/man1
  manual_DATA = \
    xfce4-sensors.1

This is twice wrong. Firstly, the path misses 'share' directory where manuals are installed. Secondly, autoconf already provides $(mandir) for that. So by forcing a custom path you're disabling the possible user override.
Comment 1 Michał Górny 2017-04-04 19:30:57 CEST
A local expert suggests using:

  man_MANS = xfce4-sensors.1

This should both use the correct directory, but also figure the 'man1' subdirectory as appropriate on its own. Alternatively, you may prefer to force man1 explicitly:

  man1_MANS = xfce4-sensors.1

https://www.gnu.org/software/automake/manual/html_node/Man-Pages.html
Comment 2 Fabian Nowak editbugs 2017-04-04 20:35:43 CEST
Thanks, will fix that. I wonder which template I used?

Fixed with commit 8e3c0bd

Bug #13479

Reported by:
Michał Górny
Reported on: 2017-04-04
Last modified on: 2017-04-04

People

Assignee:
Fabian Nowak
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information