Blob Blame Raw
diff -up pykde4-4.13.97/CMakeLists.txt.cmake_source_dir pykde4-4.13.97/CMakeLists.txt
--- pykde4-4.13.97/CMakeLists.txt.cmake_source_dir	2014-08-08 21:30:17.903937782 -0500
+++ pykde4-4.13.97/CMakeLists.txt	2014-08-08 21:31:07.411422765 -0500
@@ -251,6 +256,7 @@ python_install(__init__.py ${PYTHON_SITE
 
 # Install the .sip files for anyone that wants to build bindings on top of PyKDE4.
 # (Don't forget the / at the end of sip/.)
+install(FILES ${CMAKE_BINARY_DIR}/pykde_config.sip DESTINATION ${SIP_FILES_INSTALL_DIR}/PyKDE4/)
 install(DIRECTORY sip/ DESTINATION ${SIP_FILES_INSTALL_DIR}/PyKDE4
     PATTERN "*~" EXCLUDE    # This sucks, why can't I just whitelist what I _do_ want?
     PATTERN ".svn" EXCLUDE
diff -up pykde4-4.13.97/PyKDEConfigurationInformation.cmake.cmake_source_dir pykde4-4.13.97/PyKDEConfigurationInformation.cmake
--- pykde4-4.13.97/PyKDEConfigurationInformation.cmake.cmake_source_dir	2014-07-29 12:05:46.000000000 -0500
+++ pykde4-4.13.97/PyKDEConfigurationInformation.cmake	2014-08-08 21:30:17.908937730 -0500
@@ -26,7 +26,7 @@ set(PYKDE_SIP_DIR "${SIP_FILES_INSTALL_D
 set(PYKDE_SIP_FLAGS "${_SIP_TAGS} ${_SIP_X} ${SIP_EXTRA_OPTIONS}")
 
 # Create pykde_config.sip.
-configure_file(sip/kdecore/pykde_config.sip.in ${CMAKE_BINARY_DIR}/pykde_config.sip @ONLY)
+configure_file(${CMAKE_SOURCE_DIR}/sip/kdecore/pykde_config.sip.in ${CMAKE_BINARY_DIR}/pykde_config.sip @ONLY)
 
 # pykdeconfig.py. It is always created, but is installed only if PyQt itself
 # installs pyqtconfig.py.
@@ -54,4 +54,4 @@ _pkg_config = {
 }
 
 _default_macros = None")
-configure_file(pykdeconfig.py.in ${CMAKE_BINARY_DIR}/pykdeconfig.py)
+configure_file(${CMAKE_SOURCE_DIR}/pykdeconfig.py.in ${CMAKE_BINARY_DIR}/pykdeconfig.py)