git » libfiu » commit 2b50abc

Install manpages under $(PREFIX)/share/man/, not $(PREFIX)/man/

author Chris Lamb
2009-07-24 17:27:22 UTC
committer Chris Lamb
2009-07-24 17:27:22 UTC
parent 7b8c94d9f7f4fb2401a18347c15314ca724e6b73

Install manpages under $(PREFIX)/share/man/, not $(PREFIX)/man/

The Filesystem Hierarchy Standard dictates that we should place
manpages under 'share', not under the prefix directly.

Signed-off-by: Chris Lamb <lamby@debian.org>

libfiu/Makefile +2 -2
preload/run/Makefile +2 -2
utils/Makefile +3 -3

diff --git a/libfiu/Makefile b/libfiu/Makefile
index f80b76c..f72c513 100644
--- a/libfiu/Makefile
+++ b/libfiu/Makefile
@@ -71,8 +71,8 @@ install-lib: libs libfiu.pc
 	@echo
 
 install-man:
-	$(INSTALL) -d $(PREFIX)/man/man3
-	$(INSTALL) -m 0644 libfiu.3 $(PREFIX)/man/man3/
+	$(INSTALL) -d $(PREFIX)/share/man/man3
+	$(INSTALL) -m 0644 libfiu.3 $(PREFIX)/share/man/man3/
 
 install: install-lib install-man
 
diff --git a/preload/run/Makefile b/preload/run/Makefile
index 4328548..f69e035 100644
--- a/preload/run/Makefile
+++ b/preload/run/Makefile
@@ -63,8 +63,8 @@ install: fiu_run_preload.so fiu-run
 	$(INSTALL) -m 0755 fiu_run_preload.so $(PREFIX)/lib
 	$(INSTALL) -d $(PREFIX)/bin
 	$(INSTALL) -m 0755 fiu-run $(PREFIX)/bin
-	$(INSTALL) -d $(PREFIX)/man/man1
-	$(INSTALL) -m 0644 fiu-run.1 $(PREFIX)/man/man1/
+	$(INSTALL) -d $(PREFIX)/share/man/man1
+	$(INSTALL) -m 0644 fiu-run.1 $(PREFIX)/share/man/man1/
 
 clean:
 	rm -f $(OBJS) fiu_run_preload.so fiu-run build-flags
diff --git a/utils/Makefile b/utils/Makefile
index 3943711..16dd744 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -12,9 +12,9 @@ install:
 	$(INSTALL) -d $(PREFIX)/bin
 	$(INSTALL) -m 0755 fiu-ctrl $(PREFIX)/bin
 	$(INSTALL) -m 0755 fiu-ls $(PREFIX)/bin
-	$(INSTALL) -d $(PREFIX)/man/man1
-	$(INSTALL) -m 0644 fiu-ctrl.1 $(PREFIX)/man/man1/
-	$(INSTALL) -m 0644 fiu-ls.1 $(PREFIX)/man/man1/
+	$(INSTALL) -d $(PREFIX)/share/man/man1
+	$(INSTALL) -m 0644 fiu-ctrl.1 $(PREFIX)/share/man/man1/
+	$(INSTALL) -m 0644 fiu-ls.1 $(PREFIX)/share/man/man1/
 
 clean: