aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Schueller <schueller@phimeca.com>2017-09-05 13:18:14 +0200
committerChristian Tismer <tismer@stackless.com>2017-09-27 10:13:55 +0000
commitad85c747fc905d75570d9c255e8f76ae020f3d0b (patch)
tree3dd50f9760c22889c96fa676faa5041683b695b8
parent5291486b7c5dba824cb4205b8532a280a72592c6 (diff)
Do not install man pages on windows
Task-number: PYSIDE-565 Change-Id: Id0eb5bd3b8867c768c7fb9c28a61e217a1cc02ca Reviewed-by: Christian Tismer <tismer@stackless.com>
-rw-r--r--CMakeLists.txt2
-rw-r--r--pylupdate/CMakeLists.txt2
-rw-r--r--pyrcc/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 561ba82..2c02384 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -59,7 +59,7 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/pyside2uic
PATTERN "*pyside2uic\\__init__.py" EXCLUDE)
# Man pages for pyside2-uic
-if (NOT win32)
+if (NOT WIN32)
file(GLOB manpages "${CMAKE_CURRENT_SOURCE_DIR}/pyside2uic/*.1")
install(FILES ${manpages} DESTINATION share/man/man1)
endif()
diff --git a/pylupdate/CMakeLists.txt b/pylupdate/CMakeLists.txt
index 83e5bf0..a46608c 100644
--- a/pylupdate/CMakeLists.txt
+++ b/pylupdate/CMakeLists.txt
@@ -38,7 +38,7 @@ target_link_libraries(pyside2-lupdate
install(TARGETS pyside2-lupdate RUNTIME DESTINATION bin)
# Man pages
-if (NOT win32)
+if (NOT WIN32)
file(GLOB manpages "${CMAKE_CURRENT_SOURCE_DIR}/*.1")
install(FILES ${manpages} DESTINATION share/man/man1)
endif()
diff --git a/pyrcc/CMakeLists.txt b/pyrcc/CMakeLists.txt
index b486e32..2aaf788 100644
--- a/pyrcc/CMakeLists.txt
+++ b/pyrcc/CMakeLists.txt
@@ -12,7 +12,7 @@ target_link_libraries(pyside2-rcc
install(TARGETS pyside2-rcc RUNTIME DESTINATION bin)
# Man pages
-if (NOT win32)
+if (NOT WIN32)
file(GLOB manpages "${CMAKE_CURRENT_SOURCE_DIR}/*.1")
install(FILES ${manpages} DESTINATION share/man/man1)
endif()