diff --git a/CMakeLists.txt b/CMakeLists.txt index 4846bd9f2c..4421b44cb0 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -212,7 +212,6 @@ if (DOXYGEN_FOUND AND LATEX_FOUND) COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/docs/rsmi_doxygen.cfg "${INC_DIR}/rocm_smi.h" - ${CMAKE_CURRENT_SOURCE_DIR}/docs/README.md WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/latex/refman.pdf COMMAND make > /dev/null diff --git a/docs/README.md b/docs/README.md index f3f747dcc9..554a58df85 100755 --- a/docs/README.md +++ b/docs/README.md @@ -27,14 +27,13 @@ After the ROCm SMI library git repository has been cloned to a local Linux machi ##### ```$ cmake ``` ##### ```$ make``` ##### ```# Install library file and header; default location is /opt/rocm``` -##### ```$ sudo make install``` +##### ```$ make install``` The built library will appear in the `build` folder. -#### Building the Documentation -The documentation PDF file can be built with the following steps (continued from the steps above): -##### ```$ make doc``` -##### ```$ cd latex``` -##### ```$ make``` +To build the rpm and deb packages follow the above steps with: +##### ```$ make package``` + +#### Documentation The reference manual, `refman.pdf` will be in the `latex` directory upon a successful build. #### Building the Tests @@ -45,7 +44,7 @@ In order to verify the build and capability of ROCm SMI on your system and to se ##### ```$ mkdir ``` ##### ```$ cd ``` ##### ```$ cmake -DROCM_DIR=$ROCM_DIR /tests/rocm_smi_test``` -##### ```$ make +##### ```$ make``` To run the test, execute the program `rsmitst` that is built from the steps above. diff --git a/docs/ROCm_SMI_Manual.pdf b/docs/ROCm_SMI_Manual.pdf deleted file mode 100644 index 50330e93d5..0000000000 Binary files a/docs/ROCm_SMI_Manual.pdf and /dev/null differ