From 69aa1bf6468d8207e7cdc5ceb462023a0537d0b0 Mon Sep 17 00:00:00 2001 From: Timothy Day Date: Sat, 29 Mar 2025 18:45:19 -0400 Subject: [PATCH] LU-18687 doc: move man pages to Documentation [1] Consolidate all of the man pages into the top level Documentation directory. Move all of the LNET man pages to Docmentation/. Test-Parameters: trivial Signed-off-by: Timothy Day Change-Id: I8f175e9b7cc27e2b80622ae7b8f891104dff24c4 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58586 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Arshad Hussain Reviewed-by: James Simmons Reviewed-by: Ellis Wilson Reviewed-by: Oleg Drokin --- Documentation/man7/Makefile.am | 3 ++- {lnet/doc => Documentation/man7}/lnet.7 | 0 Documentation/man8/Makefile.am | 4 +++- {lnet/doc => Documentation/man8}/lnetctl.8 | 0 {lnet/doc => Documentation/man8}/lst.8 | 0 config/lustre-lnet.m4 | 1 - lnet/autoMakefile.am | 4 ++-- lnet/doc/.gitignore | 3 --- lnet/doc/Makefile.am | 22 ---------------------- 9 files changed, 7 insertions(+), 30 deletions(-) rename {lnet/doc => Documentation/man7}/lnet.7 (100%) rename {lnet/doc => Documentation/man8}/lnetctl.8 (100%) rename {lnet/doc => Documentation/man8}/lst.8 (100%) delete mode 100644 lnet/doc/.gitignore delete mode 100644 lnet/doc/Makefile.am diff --git a/Documentation/man7/Makefile.am b/Documentation/man7/Makefile.am index 6e53ab5..6fadc7c 100644 --- a/Documentation/man7/Makefile.am +++ b/Documentation/man7/Makefile.am @@ -4,7 +4,8 @@ # This file is part of Lustre, http://www.lustre.org/ # -MANFILES = +MANFILES = \ + lnet.7 if MANPAGES if UTILS diff --git a/lnet/doc/lnet.7 b/Documentation/man7/lnet.7 similarity index 100% rename from lnet/doc/lnet.7 rename to Documentation/man7/lnet.7 diff --git a/Documentation/man8/Makefile.am b/Documentation/man8/Makefile.am index 6e53ab5..d00e721 100644 --- a/Documentation/man8/Makefile.am +++ b/Documentation/man8/Makefile.am @@ -4,7 +4,9 @@ # This file is part of Lustre, http://www.lustre.org/ # -MANFILES = +MANFILES = \ + lnetctl.8 \ + lst.8 if MANPAGES if UTILS diff --git a/lnet/doc/lnetctl.8 b/Documentation/man8/lnetctl.8 similarity index 100% rename from lnet/doc/lnetctl.8 rename to Documentation/man8/lnetctl.8 diff --git a/lnet/doc/lst.8 b/Documentation/man8/lst.8 similarity index 100% rename from lnet/doc/lst.8 rename to Documentation/man8/lst.8 diff --git a/config/lustre-lnet.m4 b/config/lustre-lnet.m4 index e1a3231..22c96f3 100644 --- a/config/lustre-lnet.m4 +++ b/config/lustre-lnet.m4 @@ -1466,7 +1466,6 @@ AC_DEFUN([LN_CONFIG_FILES], [ AC_CONFIG_FILES([ lnet/Makefile lnet/autoMakefile -lnet/doc/Makefile lnet/include/Makefile lnet/include/lnet/Makefile lnet/include/uapi/linux/lnet/Makefile diff --git a/lnet/autoMakefile.am b/lnet/autoMakefile.am index 5626a6c..441c1e3 100644 --- a/lnet/autoMakefile.am +++ b/lnet/autoMakefile.am @@ -11,6 +11,6 @@ # This file is part of Lustre, http://www.lustre.org/ # -SUBDIRS = lnet klnds selftest doc utils include +SUBDIRS = lnet klnds selftest utils include -DIST_SUBDIRS = lnet klnds selftest doc utils include +DIST_SUBDIRS = lnet klnds selftest utils include diff --git a/lnet/doc/.gitignore b/lnet/doc/.gitignore deleted file mode 100644 index ea6ef03..0000000 --- a/lnet/doc/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/Makefile.in -/*.eps -/*.pdf diff --git a/lnet/doc/Makefile.am b/lnet/doc/Makefile.am deleted file mode 100644 index 58a6682..0000000 --- a/lnet/doc/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 - -# -# This file is part of Lustre, http://www.lustre.org/ -# - -MANFILES = \ - lnetctl.8 \ - lst.8 \ - lnet.7 - -if MANPAGES -if UTILS -man_MANS = $(MANFILES) -endif -endif - -CLEANFILES = *.aux *.tex *.log *.pdf - -EXTRA_DIST = $(MANFILES) - -all: -- 1.8.3.1