Skip to content

Commit

Permalink
Fix header install path and readme mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Syllo committed Jul 20, 2017
1 parent e037245 commit cc9a7d0
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ add_subdirectory(src)
# INSTALL #
#///////////////////////////////////////////////////////////////////#

install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/include/"
DESTINATION include FILES_MATCHING PATTERN "*.h")
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/"
DESTINATION include FILES_MATCHING PATTERN "nvtop/*.h")

configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
Expand Down
4 changes: 2 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Three libraries are required:
* The NVIDIA Management Library (NVML).
* This queries the GPU for information.
* The ncurses library driving the user interface.
* This drives the screen.
* This makes the screen look beautiful.

Limitations
-----------
Expand Down Expand Up @@ -58,6 +58,6 @@ None for the moment.
License
-------

Nvtop is licensed under the GPLV3 licence or any later version.
Nvtop is licensed under the GPLV3 license or any later version.
You will find a copy of the license inside the COPYING file of the repository or
at the gnu website <[www.gnu.org/licenses/](http://www.gnu.org/licenses/)>.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion include/interface.h → include/nvtop/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#ifndef __INTERFACE_H_
#define __INTERFACE_H_

#include "extract_gpuinfo.h"
#include "nvtop/extract_gpuinfo.h"

enum sort_gpu_process_by {
sort_pid,
Expand Down
4 changes: 2 additions & 2 deletions src/extract_gpuinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
*
*/

#include "extract_gpuinfo.h"
#include "nvtop/extract_gpuinfo.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "get_process_info.h"
#include "nvtop/get_process_info.h"

static bool nvml_initialized = false;

Expand Down
2 changes: 1 addition & 1 deletion src/get_process_info_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
*/

#include "get_process_info.h"
#include "nvtop/get_process_info.h"

#include <pwd.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion src/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
*/

#include "interface.h"
#include "nvtop/interface.h"

#include <stdlib.h>
#include <string.h>
Expand Down
2 changes: 1 addition & 1 deletion src/nvtop.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#include <locale.h>

#include "interface.h"
#include "nvtop/interface.h"

#define STOP_SIGNAL 0x1
#define RESIZE_SIGNAL 0x2
Expand Down

0 comments on commit cc9a7d0

Please sign in to comment.