diff mbox series

[v1,10/10] man: Organize manual pages in subdirectories

Message ID 20240619232444.36444-11-alx@kernel.org (mailing list archive)
State New
Headers show
Series Several fixes and improvements to the manual pages | expand

Commit Message

Alejandro Colomar June 19, 2024, 11:25 p.m. UTC
Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
 Makefile                                     | 10 +++++-----
 man/{ => man1}/keyctl.1                      |  0
 man/{ => man3}/find_key_by_type_and_name.3   |  0
 man/{ => man3}/keyctl.3                      |  0
 man/{ => man3}/keyctl_capabilities.3         |  0
 man/{ => man3}/keyctl_chown.3                |  0
 man/{ => man3}/keyctl_clear.3                |  0
 man/{ => man3}/keyctl_describe.3             |  0
 man/{ => man3}/keyctl_dh_compute.3           |  0
 man/{ => man3}/keyctl_get_keyring_ID.3       |  0
 man/{ => man3}/keyctl_get_persistent.3       |  0
 man/{ => man3}/keyctl_get_security.3         |  0
 man/{ => man3}/keyctl_instantiate.3          |  0
 man/{ => man3}/keyctl_invalidate.3           |  0
 man/{ => man3}/keyctl_join_session_keyring.3 |  0
 man/{ => man3}/keyctl_link.3                 |  0
 man/{ => man3}/keyctl_move.3                 |  0
 man/{ => man3}/keyctl_pkey_decrypt.3         |  0
 man/{ => man3}/keyctl_pkey_encrypt.3         |  0
 man/{ => man3}/keyctl_pkey_query.3           |  0
 man/{ => man3}/keyctl_pkey_sign.3            |  0
 man/{ => man3}/keyctl_pkey_verify.3          |  0
 man/{ => man3}/keyctl_read.3                 |  0
 man/{ => man3}/keyctl_restrict_keyring.3     |  0
 man/{ => man3}/keyctl_revoke.3               |  0
 man/{ => man3}/keyctl_search.3               |  0
 man/{ => man3}/keyctl_session_to_parent.3    |  0
 man/{ => man3}/keyctl_set_reqkey_keyring.3   |  0
 man/{ => man3}/keyctl_set_timeout.3          |  0
 man/{ => man3}/keyctl_setperm.3              |  0
 man/{ => man3}/keyctl_update.3               |  0
 man/{ => man3}/keyctl_watch_key.3            |  0
 man/{ => man3}/recursive_key_scan.3          |  0
 man/{ => man5}/key.dns_resolver.conf.5       |  0
 man/{ => man5}/request-key.conf.5            |  0
 man/{ => man7}/asymmetric-key.7              |  0
 man/{ => man7}/keyutils.7                    |  0
 man/{ => man8}/key.dns_resolver.8            |  0
 man/{ => man8}/request-key.8                 |  0
 39 files changed, 5 insertions(+), 5 deletions(-)
 rename man/{ => man1}/keyctl.1 (100%)
 rename man/{ => man3}/find_key_by_type_and_name.3 (100%)
 rename man/{ => man3}/keyctl.3 (100%)
 rename man/{ => man3}/keyctl_capabilities.3 (100%)
 rename man/{ => man3}/keyctl_chown.3 (100%)
 rename man/{ => man3}/keyctl_clear.3 (100%)
 rename man/{ => man3}/keyctl_describe.3 (100%)
 rename man/{ => man3}/keyctl_dh_compute.3 (100%)
 rename man/{ => man3}/keyctl_get_keyring_ID.3 (100%)
 rename man/{ => man3}/keyctl_get_persistent.3 (100%)
 rename man/{ => man3}/keyctl_get_security.3 (100%)
 rename man/{ => man3}/keyctl_instantiate.3 (100%)
 rename man/{ => man3}/keyctl_invalidate.3 (100%)
 rename man/{ => man3}/keyctl_join_session_keyring.3 (100%)
 rename man/{ => man3}/keyctl_link.3 (100%)
 rename man/{ => man3}/keyctl_move.3 (100%)
 rename man/{ => man3}/keyctl_pkey_decrypt.3 (100%)
 rename man/{ => man3}/keyctl_pkey_encrypt.3 (100%)
 rename man/{ => man3}/keyctl_pkey_query.3 (100%)
 rename man/{ => man3}/keyctl_pkey_sign.3 (100%)
 rename man/{ => man3}/keyctl_pkey_verify.3 (100%)
 rename man/{ => man3}/keyctl_read.3 (100%)
 rename man/{ => man3}/keyctl_restrict_keyring.3 (100%)
 rename man/{ => man3}/keyctl_revoke.3 (100%)
 rename man/{ => man3}/keyctl_search.3 (100%)
 rename man/{ => man3}/keyctl_session_to_parent.3 (100%)
 rename man/{ => man3}/keyctl_set_reqkey_keyring.3 (100%)
 rename man/{ => man3}/keyctl_set_timeout.3 (100%)
 rename man/{ => man3}/keyctl_setperm.3 (100%)
 rename man/{ => man3}/keyctl_update.3 (100%)
 rename man/{ => man3}/keyctl_watch_key.3 (100%)
 rename man/{ => man3}/recursive_key_scan.3 (100%)
 rename man/{ => man5}/key.dns_resolver.conf.5 (100%)
 rename man/{ => man5}/request-key.conf.5 (100%)
 rename man/{ => man7}/asymmetric-key.7 (100%)
 rename man/{ => man7}/keyutils.7 (100%)
 rename man/{ => man8}/key.dns_resolver.8 (100%)
 rename man/{ => man8}/request-key.8 (100%)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index d8d4ee3..d8d058d 100644
--- a/Makefile
+++ b/Makefile
@@ -221,15 +221,15 @@  endif
 	mkdir -p $(DESTDIR)$(ETCDIR)/request-key.d
 	mkdir -p $(DESTDIR)$(ETCDIR)/keyutils
 	mkdir -p $(DESTDIR)$(MAN1)
-	$(INSTALL) -m 0644 $(wildcard man/*.1) $(DESTDIR)$(MAN1)
+	$(INSTALL) -m 0644 $(wildcard man/man1/*.1) $(DESTDIR)$(MAN1)
 	mkdir -p $(DESTDIR)$(MAN3)
-	$(INSTALL) -m 0644 $(wildcard man/*.3) $(DESTDIR)$(MAN3)
+	$(INSTALL) -m 0644 $(wildcard man/man3/*.3) $(DESTDIR)$(MAN3)
 	mkdir -p $(DESTDIR)$(MAN5)
-	$(INSTALL) -m 0644 $(wildcard man/*.5) $(DESTDIR)$(MAN5)
+	$(INSTALL) -m 0644 $(wildcard man/man5/*.5) $(DESTDIR)$(MAN5)
 	mkdir -p $(DESTDIR)$(MAN7)
-	$(INSTALL) -m 0644 $(wildcard man/*.7) $(DESTDIR)$(MAN7)
+	$(INSTALL) -m 0644 $(wildcard man/man7/*.7) $(DESTDIR)$(MAN7)
 	mkdir -p $(DESTDIR)$(MAN8)
-	$(INSTALL) -m 0644 $(wildcard man/*.8) $(DESTDIR)$(MAN8)
+	$(INSTALL) -m 0644 $(wildcard man/man8/*.8) $(DESTDIR)$(MAN8)
 	$(LNS) keyctl_describe.3 $(DESTDIR)$(MAN3)/keyctl_describe_alloc.3
 	$(LNS) keyctl_get_security.3 $(DESTDIR)$(MAN3)/keyctl_get_security_alloc.3
 	$(LNS) keyctl_instantiate.3 $(DESTDIR)$(MAN3)/keyctl_instantiate_iov.3
diff --git a/man/keyctl.1 b/man/man1/keyctl.1
similarity index 100%
rename from man/keyctl.1
rename to man/man1/keyctl.1
diff --git a/man/find_key_by_type_and_name.3 b/man/man3/find_key_by_type_and_name.3
similarity index 100%
rename from man/find_key_by_type_and_name.3
rename to man/man3/find_key_by_type_and_name.3
diff --git a/man/keyctl.3 b/man/man3/keyctl.3
similarity index 100%
rename from man/keyctl.3
rename to man/man3/keyctl.3
diff --git a/man/keyctl_capabilities.3 b/man/man3/keyctl_capabilities.3
similarity index 100%
rename from man/keyctl_capabilities.3
rename to man/man3/keyctl_capabilities.3
diff --git a/man/keyctl_chown.3 b/man/man3/keyctl_chown.3
similarity index 100%
rename from man/keyctl_chown.3
rename to man/man3/keyctl_chown.3
diff --git a/man/keyctl_clear.3 b/man/man3/keyctl_clear.3
similarity index 100%
rename from man/keyctl_clear.3
rename to man/man3/keyctl_clear.3
diff --git a/man/keyctl_describe.3 b/man/man3/keyctl_describe.3
similarity index 100%
rename from man/keyctl_describe.3
rename to man/man3/keyctl_describe.3
diff --git a/man/keyctl_dh_compute.3 b/man/man3/keyctl_dh_compute.3
similarity index 100%
rename from man/keyctl_dh_compute.3
rename to man/man3/keyctl_dh_compute.3
diff --git a/man/keyctl_get_keyring_ID.3 b/man/man3/keyctl_get_keyring_ID.3
similarity index 100%
rename from man/keyctl_get_keyring_ID.3
rename to man/man3/keyctl_get_keyring_ID.3
diff --git a/man/keyctl_get_persistent.3 b/man/man3/keyctl_get_persistent.3
similarity index 100%
rename from man/keyctl_get_persistent.3
rename to man/man3/keyctl_get_persistent.3
diff --git a/man/keyctl_get_security.3 b/man/man3/keyctl_get_security.3
similarity index 100%
rename from man/keyctl_get_security.3
rename to man/man3/keyctl_get_security.3
diff --git a/man/keyctl_instantiate.3 b/man/man3/keyctl_instantiate.3
similarity index 100%
rename from man/keyctl_instantiate.3
rename to man/man3/keyctl_instantiate.3
diff --git a/man/keyctl_invalidate.3 b/man/man3/keyctl_invalidate.3
similarity index 100%
rename from man/keyctl_invalidate.3
rename to man/man3/keyctl_invalidate.3
diff --git a/man/keyctl_join_session_keyring.3 b/man/man3/keyctl_join_session_keyring.3
similarity index 100%
rename from man/keyctl_join_session_keyring.3
rename to man/man3/keyctl_join_session_keyring.3
diff --git a/man/keyctl_link.3 b/man/man3/keyctl_link.3
similarity index 100%
rename from man/keyctl_link.3
rename to man/man3/keyctl_link.3
diff --git a/man/keyctl_move.3 b/man/man3/keyctl_move.3
similarity index 100%
rename from man/keyctl_move.3
rename to man/man3/keyctl_move.3
diff --git a/man/keyctl_pkey_decrypt.3 b/man/man3/keyctl_pkey_decrypt.3
similarity index 100%
rename from man/keyctl_pkey_decrypt.3
rename to man/man3/keyctl_pkey_decrypt.3
diff --git a/man/keyctl_pkey_encrypt.3 b/man/man3/keyctl_pkey_encrypt.3
similarity index 100%
rename from man/keyctl_pkey_encrypt.3
rename to man/man3/keyctl_pkey_encrypt.3
diff --git a/man/keyctl_pkey_query.3 b/man/man3/keyctl_pkey_query.3
similarity index 100%
rename from man/keyctl_pkey_query.3
rename to man/man3/keyctl_pkey_query.3
diff --git a/man/keyctl_pkey_sign.3 b/man/man3/keyctl_pkey_sign.3
similarity index 100%
rename from man/keyctl_pkey_sign.3
rename to man/man3/keyctl_pkey_sign.3
diff --git a/man/keyctl_pkey_verify.3 b/man/man3/keyctl_pkey_verify.3
similarity index 100%
rename from man/keyctl_pkey_verify.3
rename to man/man3/keyctl_pkey_verify.3
diff --git a/man/keyctl_read.3 b/man/man3/keyctl_read.3
similarity index 100%
rename from man/keyctl_read.3
rename to man/man3/keyctl_read.3
diff --git a/man/keyctl_restrict_keyring.3 b/man/man3/keyctl_restrict_keyring.3
similarity index 100%
rename from man/keyctl_restrict_keyring.3
rename to man/man3/keyctl_restrict_keyring.3
diff --git a/man/keyctl_revoke.3 b/man/man3/keyctl_revoke.3
similarity index 100%
rename from man/keyctl_revoke.3
rename to man/man3/keyctl_revoke.3
diff --git a/man/keyctl_search.3 b/man/man3/keyctl_search.3
similarity index 100%
rename from man/keyctl_search.3
rename to man/man3/keyctl_search.3
diff --git a/man/keyctl_session_to_parent.3 b/man/man3/keyctl_session_to_parent.3
similarity index 100%
rename from man/keyctl_session_to_parent.3
rename to man/man3/keyctl_session_to_parent.3
diff --git a/man/keyctl_set_reqkey_keyring.3 b/man/man3/keyctl_set_reqkey_keyring.3
similarity index 100%
rename from man/keyctl_set_reqkey_keyring.3
rename to man/man3/keyctl_set_reqkey_keyring.3
diff --git a/man/keyctl_set_timeout.3 b/man/man3/keyctl_set_timeout.3
similarity index 100%
rename from man/keyctl_set_timeout.3
rename to man/man3/keyctl_set_timeout.3
diff --git a/man/keyctl_setperm.3 b/man/man3/keyctl_setperm.3
similarity index 100%
rename from man/keyctl_setperm.3
rename to man/man3/keyctl_setperm.3
diff --git a/man/keyctl_update.3 b/man/man3/keyctl_update.3
similarity index 100%
rename from man/keyctl_update.3
rename to man/man3/keyctl_update.3
diff --git a/man/keyctl_watch_key.3 b/man/man3/keyctl_watch_key.3
similarity index 100%
rename from man/keyctl_watch_key.3
rename to man/man3/keyctl_watch_key.3
diff --git a/man/recursive_key_scan.3 b/man/man3/recursive_key_scan.3
similarity index 100%
rename from man/recursive_key_scan.3
rename to man/man3/recursive_key_scan.3
diff --git a/man/key.dns_resolver.conf.5 b/man/man5/key.dns_resolver.conf.5
similarity index 100%
rename from man/key.dns_resolver.conf.5
rename to man/man5/key.dns_resolver.conf.5
diff --git a/man/request-key.conf.5 b/man/man5/request-key.conf.5
similarity index 100%
rename from man/request-key.conf.5
rename to man/man5/request-key.conf.5
diff --git a/man/asymmetric-key.7 b/man/man7/asymmetric-key.7
similarity index 100%
rename from man/asymmetric-key.7
rename to man/man7/asymmetric-key.7
diff --git a/man/keyutils.7 b/man/man7/keyutils.7
similarity index 100%
rename from man/keyutils.7
rename to man/man7/keyutils.7
diff --git a/man/key.dns_resolver.8 b/man/man8/key.dns_resolver.8
similarity index 100%
rename from man/key.dns_resolver.8
rename to man/man8/key.dns_resolver.8
diff --git a/man/request-key.8 b/man/man8/request-key.8
similarity index 100%
rename from man/request-key.8
rename to man/man8/request-key.8