wmacpi: Install manpages to PREFIX/share/man/man1.

By default, the manpages are installed in PREFIX/man/man1, which does not
conform to the Filesystem Hierarchy Standard.  This patch installs them
correctly to PREFIX/share/man/man1.

Based on the patch from Debian:
http://sources.debian.net/src/wmacpi/2.2~rc5%2Bds-1/debian/patches/install_manpages_to_usr_share.patch/
This commit is contained in:
Doug Torrance 2014-08-18 17:56:31 -05:00 committed by Carlos R. Mafra
parent 413a212a2e
commit 0165115fe9
2 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,7 @@ the files by hand . . .
Files installed (paths relative to PREFIX):
bin/wmacpi
bin/acpi
man/man1/wmacpi.1
man/man1/acpi.1
share/man/man1/wmacpi.1
share/man/man1/acpi.1
Simon Fowler <simon@dreamcraft.com.au>, 2005-01-05

View file

@ -64,8 +64,8 @@ clean-all: clean
install: $(targets)
install -d $(PREFIX)/bin/
install -pc $(targets) $(PREFIX)/bin/
install -d $(PREFIX)/man/man1/
install -pc $(doc_targets) $(PREFIX)/man/man1/
install -d $(PREFIX)/share/man/man1/
install -pc $(doc_targets) $(PREFIX)/share/man/man1/
tags:
etags $(WMSRC) $(CLSRC) $(HEADERS)