[CRIU] [PATCH 04/13] criu(1): moved to criu(8)

Kir Kolyshkin kir at openvz.org
Wed May 1 23:21:50 EDT 2013


This command is for root, so section 8 of manual is
more appropriate than 1.

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 Documentation/Makefile | 14 +++++++-------
 Documentation/criu.txt |  2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/Documentation/Makefile b/Documentation/Makefile
index 795a754..0c2fbc6 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -5,18 +5,18 @@ A2X		:= a2x
 XMLTO		:= xmlto
 
 SRC		+= criu.txt
-MANS		:= $(patsubst %.txt,%.1,$(SRC))
+MANS		:= $(patsubst %.txt,%.8,$(SRC))
 
 # Installation paths
 MANDIR		:= /usr/share/man
-MAN1DIR		:= $(MANDIR)/man1
+MAN8DIR		:= $(MANDIR)/man8
 
 all: $(MANS)
 
-%.1: %.txt
+%.8: %.txt
 	$(E) "  GEN     " $@
-	$(Q) $(ASCIIDOC) -b docbook -d manpage -o $(patsubst %.1,%.xml,$@) $<
-	$(Q) $(XMLTO) man --skip-validation $(patsubst %.1,%.xml,$@) 2>/dev/null
+	$(Q) $(ASCIIDOC) -b docbook -d manpage -o $(patsubst %.8,%.xml,$@) $<
+	$(Q) $(XMLTO) man --skip-validation $(patsubst %.8,%.xml,$@) 2>/dev/null
 
 clean:
 	$(E) "  CLEAN   "
@@ -25,7 +25,7 @@ clean:
 
 install: $(MANS)
 	$(E) "  INSTALL " $(MANS)
-	$(Q) mkdir -p $(DESTDIR)$(MAN1DIR)
-	$(Q) install $(MANS) $(DESTDIR)$(MAN1DIR)
+	$(Q) mkdir -p $(DESTDIR)$(MAN8DIR)
+	$(Q) install $(MANS) $(DESTDIR)$(MAN8DIR)
 
 .PHONY: clean install
diff --git a/Documentation/criu.txt b/Documentation/criu.txt
index 5927642..28e1d44 100644
--- a/Documentation/criu.txt
+++ b/Documentation/criu.txt
@@ -1,4 +1,4 @@
-CRIU(1)
+CRIU(8)
 =======
 :doctype:       manpage
 :man source:    criu
-- 
1.8.1.4



More information about the CRIU mailing list