cmark

My personal build of CMark ✏️

Commit
51210a15c3479fccf7c4735f70e0c1a3b6085e8f
Parent
25ccf653e8be351bb2c5d89236d3e0e960ae7a45
Author
John MacFarlane <jgm@berkeley.edu>
Date

Moved man install target to main CMakeLists.txt.

Diffstat

2 files changed, 4 insertions, 4 deletions

Status File Name N° Changes Insertions Deletions
Modified CMakeLists.txt 4 4 0
Modified src/CMakeLists.txt 4 0 4
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -14,6 +14,10 @@ set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_
 
 add_subdirectory(src)
 
+if(UNIX)
+  INSTALL(FILES man/man1/cmark.1 DESTINATION share/man/man1)
+endif(UNIX)
+
 if(NOT CMAKE_BUILD_TYPE)
   set(CMAKE_BUILD_TYPE "Release" CACHE STRING
   "Choose the type of build, options are: Debug Release." FORCE)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
@@ -74,10 +74,6 @@ install(DIRECTORY ./
   DESTINATION include/${PROJECT_NAME}
   FILES_MATCHING PATTERN "*.h")
 
-if(UNIX)
-  INSTALL(FILES ../man/man1/cmark.1 DESTINATION share/man/man1)
-endif(UNIX)
-
 include (CheckIncludeFile)
 CHECK_INCLUDE_FILE (stdbool.h HAVE_STDBOOL_H)