Blame SOURCES/0022-cmake-man-pages-only-installed-with-the-exiv2-app.patch

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