From 86ae1380e44566347440d8c950050591443944ab Mon Sep 17 00:00:00 2001 From: Masamichi Takagi Date: Mon, 11 Jun 2018 13:13:13 +0900 Subject: [PATCH] configure.ac: Move man directory to share/man Change-Id: Idaa5c0f61fbbe3bda4697bc59487f562e09ff2d6 --- configure | 10 +++++----- configure.ac | 10 +++++----- executer/user/Makefile.in | 1 + 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/configure b/configure index f48ac939..44057115 100755 --- a/configure +++ b/configure @@ -4286,7 +4286,7 @@ case $WITH_TARGET in KMODDIR="$prefix/kmod" fi if test "X$MANDIR" = X; then - MANDIR="$prefix/man" + MANDIR="$prefix/share/man" fi ;; builtin-mic) @@ -4303,7 +4303,7 @@ case $WITH_TARGET in KMODDIR="$prefix/attached/kmod" fi if test "X$MANDIR" = X; then - MANDIR="$prefix/attached/man" + MANDIR="$prefix/share/man" fi ;; builtin-x86) @@ -4320,7 +4320,7 @@ case $WITH_TARGET in KMODDIR="$prefix/kmod" fi if test "X$MANDIR" = X; then - MANDIR="$prefix/attached/man" + MANDIR="$prefix/share/man" fi ;; smp-x86) @@ -4352,7 +4352,7 @@ case $WITH_TARGET in KMODDIR="$prefix/kmod" fi if test "X$MANDIR" = X; then - MANDIR="$prefix/smp-x86/man" + MANDIR="$prefix/share/man" fi ;; smp-arm64) @@ -4384,7 +4384,7 @@ case $WITH_TARGET in KMODDIR="$prefix/kmod" fi if test "X$MANDIR" = X; then - MANDIR="$prefix/smp-arm64/man" + MANDIR="$prefix/share/man" fi ;; *) diff --git a/configure.ac b/configure.ac index c760ba24..3dcbd72c 100644 --- a/configure.ac +++ b/configure.ac @@ -229,7 +229,7 @@ case $WITH_TARGET in KMODDIR="$prefix/kmod" fi if test "X$MANDIR" = X; then - MANDIR="$prefix/man" + MANDIR="$prefix/share/man" fi ;; builtin-mic) @@ -246,7 +246,7 @@ case $WITH_TARGET in KMODDIR="$prefix/attached/kmod" fi if test "X$MANDIR" = X; then - MANDIR="$prefix/attached/man" + MANDIR="$prefix/share/man" fi ;; builtin-x86) @@ -263,7 +263,7 @@ case $WITH_TARGET in KMODDIR="$prefix/kmod" fi if test "X$MANDIR" = X; then - MANDIR="$prefix/attached/man" + MANDIR="$prefix/share/man" fi ;; smp-x86) @@ -295,7 +295,7 @@ case $WITH_TARGET in KMODDIR="$prefix/kmod" fi if test "X$MANDIR" = X; then - MANDIR="$prefix/smp-x86/man" + MANDIR="$prefix/share/man" fi ;; smp-arm64) @@ -327,7 +327,7 @@ case $WITH_TARGET in KMODDIR="$prefix/kmod" fi if test "X$MANDIR" = X; then - MANDIR="$prefix/smp-arm64/man" + MANDIR="$prefix/share/man" fi ;; *) diff --git a/executer/user/Makefile.in b/executer/user/Makefile.in index 3e02a1b9..2664353e 100644 --- a/executer/user/Makefile.in +++ b/executer/user/Makefile.in @@ -89,6 +89,7 @@ install:: mkdir -p -m 755 $(MCKERNEL_LIBDIR) install -m 755 ldump2mcdump.so $(MCKERNEL_LIBDIR) install -m 755 libsched_yield.so.1.0.0 $(MCKERNEL_LIBDIR) + mkdir -p -m 755 $(MANDIR)/man1 install -m 644 mcexec.1 $(MANDIR)/man1/mcexec.1 ifeq ($(ENABLE_QLMPI),yes) install -m 644 ../include/qlmpilib.h $(MCKERNEL_INCDIR)