From 0165115fe9b37f1d4031874e18ec4c70c1e570f8 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Mon, 18 Aug 2014 17:56:31 -0500 Subject: [PATCH] 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/ --- wmacpi/INSTALL | 4 ++-- wmacpi/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wmacpi/INSTALL b/wmacpi/INSTALL index b456969..df0c51c 100644 --- a/wmacpi/INSTALL +++ b/wmacpi/INSTALL @@ -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 , 2005-01-05 \ No newline at end of file diff --git a/wmacpi/Makefile b/wmacpi/Makefile index 7ae85a2..7afeac8 100644 --- a/wmacpi/Makefile +++ b/wmacpi/Makefile @@ -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)