Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #142 from yast/init_ui
Init the UI without y2base (bsc#922023)
- Loading branch information
Showing
7 changed files
with
123 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,2 @@ | ||
add_subdirectory(ruby) | ||
add_subdirectory(binary) | ||
|
||
# rdoc | ||
set(rdoc_dir "${CMAKE_CURRENT_BINARY_DIR}/html") | ||
ADD_CUSTOM_COMMAND ( | ||
OUTPUT ${rdoc_dir} | ||
COMMAND ${CMAKE_COMMAND} -E echo_append "Creating rdoc documentation ..." | ||
COMMAND rm -rf ${rdoc_dir} | ||
COMMAND rdoc -o ${rdoc_dir} ruby binary/Yast.cc | ||
COMMAND ${CMAKE_COMMAND} -E echo "Done." | ||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/ | ||
DEPENDS ${CMAKE_SOURCE_DIR}/src/binary/Yast.cc ${CMAKE_SOURCE_DIR}/src/ruby/*.rb | ||
) | ||
add_custom_target(rdoc ALL DEPENDS "${rdoc_dir}") | ||
add_dependencies(rdoc yastx) | ||
add_dependencies(rdoc scrx) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module Yast | ||
# This is a counterpart to init_ui in the C code. | ||
# It really belongs near it but I don't know how to code a proc in C. | ||
ObjectSpace.define_finalizer(Yast, proc { Yast.ui_finalizer } ) | ||
end |