- Commit
- 2e3ab1464f9e4e8b00ebb15ea0f5a0afd2df7263
- Parent
- 709c1385fea7b4aee3968fe80c58b87a294d8d8a
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Removed old man/CMakeLists.txt.
My personal build of CMark ✏️
Removed old man/CMakeLists.txt.
3 files changed, 5 insertions, 6 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | CMakeLists.txt | 3 | 0 | 3 |
Deleted | man/CMakeLists.txt | 3 | 0 | 3 |
Modified | src/CMakeLists.txt | 5 | 5 | 0 |
diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -90,9 +90,6 @@ install(DIRECTORY include DESTINATION . # COMPONENT devel) add_subdirectory(src) -add_subdirectory(man) - -include(InstallRequiredSystemLibraries) set(CPACK_GENERATOR TGZ ZIP) if(WIN32 AND NOT CYGWIN)
diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt @@ -1,3 +0,0 @@ -if(UNIX) - INSTALL(FILES man1/cmark.1 DESTINATION share/man/man1) -endif(UNIX)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt @@ -60,6 +60,11 @@ set_property(TARGET ${PROGRAM} APPEND PROPERTY LINK_FLAGS /INCREMENTAL:NO) endif(MSVC) + install(TARGETS ${PROGRAM} ${LIBRARY} RUNTIME DESTINATION bin LIBRARY DESTINATION lib) + +if(UNIX) + INSTALL(FILES ../man/man1/cmark.1 DESTINATION share/man/man1) +endif(UNIX)