1

As a follow up to this question, How to make the kernel section 9 manpages which document functions, data structures, and headers?. I downloaded the kernel source code and in the source dir execute

make mandocs
make installmandocs

This installed the manual pages into /usr/local/man/man9/. Now you can view man pages by typing man , or if you are editing in vim just press CTRL+K over the API name.

I downloaded the kernel source and try run make mandocs.

make: *** No rule to make target 'installmandocs'. Stop.

Evan Carroll
  • 30,763
  • 48
  • 183
  • 315
  • 2
    Why not just sudo apt-get install linux-doc? – heemayl May 14 '18 at 09:41
  • linux-doc installed already. but no man page for kernel function. Let know any other way to find kernel function – user3227126 May 14 '18 at 15:14
  • or if your web browser has such feature, nagivate to https://manpages.debian.org/ and add it as search engine . search example kcalloc.9 – A.B May 14 '18 at 16:29
  • you could borrow the "prepackaged" manpages from Debian. They are only available for a few kernel versions. latest seen: https://packages.debian.org/stretch/linux-manual-4.9 (caveat: FrankenDebian valable both ways... ) – A.B May 14 '18 at 16:43
  • I tried to clean this up @user3227126 you had the same error a few times and the formatting was pretty foobarred good luck with it, I gave you an upvote. I also removed the connection to Ubuntu/Debian because you're just building from source. Seems like to be a problem with the kernel's Makefile or your use of it (unrelated to Ubuntu/Debian) – Evan Carroll Jul 07 '18 at 04:17

0 Answers0