Author: kkaempf Date: Wed May 14 18:29:40 2008 New Revision: 10095 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10095&view=rev Log: fix install issues Modified: trunk/sat-solver/bindings/perl/CMakeLists.txt trunk/sat-solver/bindings/python/CMakeLists.txt Modified: trunk/sat-solver/bindings/perl/CMakeLists.txt URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/perl/CMakeLists.txt?rev=10095&r1=10094&r2=10095&view=diff ============================================================================== --- trunk/sat-solver/bindings/perl/CMakeLists.txt (original) +++ trunk/sat-solver/bindings/perl/CMakeLists.txt Wed May 14 18:29:40 2008 @@ -58,4 +58,7 @@ INSTALL(TARGETS ${binding_NAME} LIBRARY DESTINATION ${PERL_VENDOR_ARCH} ) +# Hmm, swig 1.3.35 doesn't seem to create this .pm file ?! +IF(EXISTS ${CMAKE_CURRENT_BINARY_DIR}/${binding_NAME}.pm) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${binding_NAME}.pm DESTINATION ${PERL_VENDOR_LIB} ) +ENDIF(EXISTS ${CMAKE_CURRENT_BINARY_DIR}/${binding_NAME}.pm) Modified: trunk/sat-solver/bindings/python/CMakeLists.txt URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/python/CMakeLists.txt?rev=10095&r1=10094&r2=10095&view=diff ============================================================================== --- trunk/sat-solver/bindings/python/CMakeLists.txt (original) +++ trunk/sat-solver/bindings/python/CMakeLists.txt Wed May 14 18:29:40 2008 @@ -46,4 +46,7 @@ INSTALL(TARGETS ${binding_NAME} LIBRARY DESTINATION ${PYTHON_LIB_DIR}/site-packages) -INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/satsolver.py DESTINATION ${PYTHON_LIB_DIR}/site-packages ) +# Hmm, swig 1.3.35 doesn't seem to create this .py file ?! +IF(EXISTS ${CMAKE_CURRENT_BINARY_DIR}/satsolverx.py) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/satsolverx.py DESTINATION ${PYTHON_LIB_DIR}/site-packages ) +ENDIF(EXISTS ${CMAKE_CURRENT_BINARY_DIR}/satsolverx.py) \ No newline at end of file -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org