Skip to content

Commit

Permalink
btrfs-progs: docs: use manual page link instead of symlink
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David Sterba <[email protected]>
  • Loading branch information
kdave committed Oct 23, 2018
1 parent d980546 commit c0bf617
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions Documentation/btrfsck.8
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.so man8/btrfs-check.8

0 comments on commit c0bf617

Please sign in to comment.