Skip to content

Commit 6e1b3e3

Browse files
maharmstonekdave
authored andcommitted
btrfs-progs: install btrfs-ioctl manual page
btrfs-ioctl.rst was laid out like it should be a man page, including having a section number, but it wasn't getting installed because there was not enough content. Pull-request: #892 Signed-off-by: Mark Harmstone <[email protected]> Signed-off-by: David Sterba <[email protected]>
1 parent c5461ae commit 6e1b3e3

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

Documentation/Makefile.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ endif
2323
endif
2424

2525
mandir ?= $(prefix)/share/man
26+
man2dir = $(mandir)/man2
2627
man3dir = $(mandir)/man3
2728
man5dir = $(mandir)/man5
2829
man8dir = $(mandir)/man8
@@ -44,8 +45,10 @@ help:
4445
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
4546

4647
install: man
48+
$(INSTALL) -d -m 755 $(DESTDIR)$(man2dir)
4749
$(INSTALL) -d -m 755 $(DESTDIR)$(man5dir)
4850
$(INSTALL) -d -m 755 $(DESTDIR)$(man8dir)
51+
$(INSTALL) -m 644 $(BUILDDIR)/man/*.2 $(DESTDIR)$(man2dir)
4952
$(INSTALL) -m 644 $(BUILDDIR)/man/*.5 $(DESTDIR)$(man5dir)
5053
$(INSTALL) -m 644 $(BUILDDIR)/man/*.8 $(DESTDIR)$(man8dir)
5154
$(INSTALL) -m 644 btrfsck.8 $(DESTDIR)$(man8dir)

Documentation/btrfs-man5.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ SEE ALSO
455455
:manref:`chattr(1)`,
456456
:manref:`fstrim(8)`,
457457
:manref:`ioctl(2)`,
458+
:doc:`btrfs-ioctl`,
458459
:doc:`mkfs.btrfs`,
459460
:manref:`mount(8)`,
460461
:manref:`swapon(8)`

Documentation/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
('btrfs-qgroup', 'btrfs-qgroup', 'control the quota group of a btrfs filesystem', '', 8),
6767
('btrfs-property', 'btrfs-property', 'get/set/list properties for given filesystem object', '', 8),
6868
('btrfs-inspect-internal', 'btrfs-inspect-internal', 'query various internal information', '', 8),
69+
('btrfs-ioctl', 'btrfs-ioctl', 'documentation about btrfs ioctls', '', 2),
6970
('btrfs-image', 'btrfs-image', 'create/restore an image of the filesystem', '', 8),
7071
('btrfs-find-root', 'btrfs-find-root', 'filter to find btrfs root', '', 8),
7172
('btrfs-filesystem', 'btrfs-filesystem', 'command group that primarily does work on the whole filesystems', '', 8),

Documentation/man-index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Manual pages
1616
btrfs-find-root
1717
btrfs-image
1818
btrfs-inspect-internal
19+
btrfs-ioctl
1920
btrfs-map-logical
2021
btrfs-property
2122
btrfs-qgroup

0 commit comments

Comments
 (0)