[Pkg-wmaker-commits] [wmacpi] 25/105: wmacpi: Install manpages to PREFIX/share/man/man1.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 18 01:13:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmacpi.

commit f07663ef3f5e7fe5519eb148f7c013dd67b3ee90
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Mon Aug 18 17:56:31 2014 -0500

    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/
---
 INSTALL  | 4 ++--
 Makefile | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/INSTALL b/INSTALL
index b456969..df0c51c 100644
--- a/INSTALL
+++ b/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 <simon at dreamcraft.com.au>, 2005-01-05
\ No newline at end of file
diff --git a/Makefile b/Makefile
index 7ae85a2..7afeac8 100644
--- a/Makefile
+++ b/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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmacpi.git



More information about the Pkg-wmaker-commits mailing list