summaryrefslogtreecommitdiff
path: root/devel/pyside-tools/files/patch-pylupdate__CMakeLists.txt
blob: 75a0a4f3879a2a6204e88da4c6ec82a8d799c23d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./pylupdate/CMakeLists.txt.orig	2011-08-22 23:19:14.000000000 +0200
+++ ./pylupdate/CMakeLists.txt	2011-12-18 15:03:30.000000000 +0100
@@ -31,8 +31,8 @@
 install(TARGETS pyside-lupdate RUNTIME DESTINATION bin)
 
 # Man pages
-if (NOT win32)
+if (NOT (win32 OR NO_INSTALL_MANPAGES))
     file(GLOB manpages "${CMAKE_CURRENT_SOURCE_DIR}/*.1")
-    install(FILES ${manpages} DESTINATION share/man/man1)
+    install(FILES ${manpages} DESTINATION man/man1)
 endif()