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 <si...@dreamcraft.com.au>, 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)
-- 
1.9.1


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to