From c0bf61709bd227b6358a6b3f10526e1ba7f950c6 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 11 Sep 2018 16:56:37 +0200 Subject: [PATCH] btrfs-progs: docs: use manual page link instead of symlink In order to install uncompressed manual pages we can't use the symlink for the deprecated btrfsck page. Replace it by source command provided by the manual page format. Old: man8/btrfsck.8.gz (symlink) New: man8/btrfsck.8 (file) Reported-by: Mike Gilbert Signed-off-by: David Sterba --- Documentation/Makefile.in | 2 +- Documentation/btrfsck.8 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 Documentation/btrfsck.8 diff --git a/Documentation/Makefile.in b/Documentation/Makefile.in index 184647c4..83968e08 100644 --- a/Documentation/Makefile.in +++ b/Documentation/Makefile.in @@ -101,7 +101,7 @@ install-man: man # want to keep the code generic $(MV) $(DESTDIR)$(man5dir)/btrfs-man5.5.gz $(DESTDIR)$(man5dir)/btrfs.5.gz $(INSTALL) -m 644 $(GZ_MAN8) $(DESTDIR)$(man8dir) - $(LN_S) -f btrfs-check.8.gz $(DESTDIR)$(man8dir)/btrfsck.8.gz + $(INSTALL) -m 644 btrfsck.8 $(DESTDIR)$(man8dir) uninstall: cd $(DESTDIR)$(man8dir); rm -f btrfs-check.8.gz $(GZ_MAN8) diff --git a/Documentation/btrfsck.8 b/Documentation/btrfsck.8 new file mode 100644 index 00000000..393903d8 --- /dev/null +++ b/Documentation/btrfsck.8 @@ -0,0 +1 @@ +.so man8/btrfs-check.8