- Clone the repository using:
git clone https://github.com/Shashank-Shet/OpenMP-man-pages.git
- Run the
create_zip.sh
script. It should create a directory with all zipped versions of the man pages. - Create a folder named
man
in your home directory. - Within this directory create a new folder
man3
. Here 3 denotes the section which represents the type of pages being installed. - Copy the created zip files to the folder
man3
. - Setup
MANPATH
environment variable to search for pages in this directory. Open the file.bashrc
in your home directory. It will be hidden by default, so either use the terminal, or change the default visibility settings of your file explorer. - Add the line
export MANPATH=$HOME/man:$MANPATH
. - Open a new terminal, and run
man omp_get_wtime
. It should display the man page for the corresponding function.
shashank-shet / openmp-man-pages Goto Github PK
View Code? Open in Web Editor NEWOpenMP documentation for the man-pages based documentation system
License: MIT License