summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-09-11 16:56:37 +0200
committerDavid Sterba <dsterba@suse.com>2018-10-23 14:48:39 +0200
commitc0bf61709bd227b6358a6b3f10526e1ba7f950c6 (patch)
tree9bf047cfe3344edcbe0b68f30cb732d548a2e2ed
parentd980546c715cfe4e5fbadbabb68e9e5d150272be (diff)
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 <floppym@gentoo.org> Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--Documentation/Makefile.in2
-rw-r--r--Documentation/btrfsck.81
2 files changed, 2 insertions, 1 deletions
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