install schema files
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Mon, 19 Feb 2007 13:38:29 +0000 (13:38 +0000)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Mon, 19 Feb 2007 13:38:29 +0000 (13:38 +0000)
CMakeLists.txt
tools/registration/CMakeLists.txt
zypp/CMakeLists.txt

index 34a6c64..ba84a26 100644 (file)
@@ -136,7 +136,7 @@ MESSAGE(STATUS "version: ${VERSION}")
 ####################################################################
 
 MESSAGE(STATUS "Writing spec file...")
-CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/libzypp.spec.in ${CMAKE_BINARY_DIR}/package/libzypp.spec @ONLY)
+CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/libzypp.spec.cmake ${CMAKE_BINARY_DIR}/package/libzypp.spec @ONLY)
 
 MACRO(add_subdir_sources subdir real_sources)
   MESSAGE( STATUS "Adding ${subdir} to sources..." )
index 3a56c22..376648b 100644 (file)
@@ -8,4 +8,4 @@ ADD_EXECUTABLE( zypp-querypool ${querypool_SRC} )
 TARGET_LINK_LIBRARIES( zypp-querypool zypp )
 TARGET_LINK_LIBRARIES( zypp-querypool xml2 )
 
-INSTALL(TARGETS zypp-querypool RUNTIME DESTINATION bin )
\ No newline at end of file
+INSTALL(TARGETS zypp-querypool RUNTIME DESTINATION ${LIB_INSTALL_DIR}/zypp )
\ No newline at end of file
index 6950605..a3dd981 100644 (file)
@@ -1011,3 +1011,18 @@ TARGET_LINK_LIBRARIES(zypp ${SQLITE_LIBRARY} )
 TARGET_LINK_LIBRARIES(zypp ${ZLIB_LIBRARY} )
 
 INSTALL(TARGETS zypp LIBRARY DESTINATION ${LIB_INSTALL_DIR} )
+
+FILE(GLOB YUM_SCHEMA_FILES ${CMAKE_SOURCE_DIR}/zypp/parser/yum/schema/*.rng)
+INSTALL(FILES ${YUM_SCHEMA_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/zypp/schema/yum)
+FILE(GLOB XMLSTORE_SCHEMA_FILES ${CMAKE_SOURCE_DIR}/zypp/parser/yum/xmlstore/*.rng)
+INSTALL(FILES ${XMLSTORE_SCHEMA_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/zypp/schema/xmlstore)
+
+filelists.rng
+other.rng
+patch.rng
+primary.rng
+repomd.rng
+suse-primary.rng
+groups.rng     patches.rng  patterns.rng  product.rng  rpm-ns.rng