a124f15
From d1c609b320eadbe7089b0482353ffef576813ca2 Mon Sep 17 00:00:00 2001
a124f15
From: =?UTF-8?q?Luis=20D=C3=ADaz=20M=C3=A1s?= <piponazo@gmail.com>
a124f15
Date: Tue, 18 Dec 2018 08:05:16 +0100
a124f15
Subject: [PATCH 22/70] cmake: man pages only installed with the exiv2 app
a124f15
a124f15
---
a124f15
 CMakeLists.txt     | 3 ---
a124f15
 src/CMakeLists.txt | 7 +------
a124f15
 2 files changed, 1 insertion(+), 9 deletions(-)
a124f15
a124f15
diff --git a/CMakeLists.txt b/CMakeLists.txt
a124f15
index 8dfd9d97..e98cfac1 100644
a124f15
--- a/CMakeLists.txt
a124f15
+++ b/CMakeLists.txt
a124f15
@@ -106,6 +106,3 @@ configure_file(cmake/exiv2.pc.in exiv2.pc @ONLY)
a124f15
 install(FILES ${CMAKE_BINARY_DIR}/exiv2.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
a124f15
 
a124f15
 include(cmake/printSummary.cmake)
a124f15
-
a124f15
-# That's all Folks!
a124f15
-##
a124f15
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
a124f15
index ca24006e..0d093924 100644
a124f15
--- a/src/CMakeLists.txt
a124f15
+++ b/src/CMakeLists.txt
a124f15
@@ -273,11 +273,6 @@ if(EXIV2_BUILD_EXIV2_COMMAND)
a124f15
     endif()
a124f15
 
a124f15
     install(TARGETS exiv2 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
a124f15
+    install( FILES exiv2.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 )
a124f15
 endif()
a124f15
 
a124f15
-# ******************************************************************************
a124f15
-# Man page
a124f15
-install( FILES exiv2.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 )
a124f15
-
a124f15
-# That's all Folks!
a124f15
-##
a124f15
-- 
a124f15
2.17.2
a124f15