Building Docs with meinproc

Allen Winter winter at kde.org
Wed Jan 17 04:23:15 CET 2007


Howdy,

I'm trying to implement the building of the docs in our cmake buildsystem.
Here's what I have so far:

In KDE4Macros.cmake I added this macro
---------------------------------------------------------
macro (KDE4_CREATE_HTML_HANDBOOK)
   # iterate over all  files
   foreach (_current_FILE ${ARGN})
      get_filename_component(_input ${_current_FILE} ABSOLUTE)
      set(_doc ${CMAKE_CURRENT_BINARY_DIR}/index.html)
      add_custom_command(OUTPUT ${_doc}
         COMMAND ${KDE4_MEINPROC_EXECUTABLE}
         ARGS --check --cache ${CMAKE_CURRENT_BINARY_DIR}/index.cache.bz2
         -o ${_doc}
         ${_input}
         MAIN_DEPENDENCY ${_input}
      )
   endforeach (_current_FILE)
endmacro (KDE4_CREATE_HTML_HANDBOOK)


kdepim/console/konsolekalendar/CMakeLists.txt looks like
---------------------------------------------------------------------------------
set(konsolekalendar_DOCS index.docbook)
kde4_create_html_handbook(${konsolekalendar_DOCS


But something is missing because when I run make, meinproc doesn't
seem to be running.  There is no index.html generated anyplace.

So I need help with this.
Help!
-Allen

-- 
KDEPIM Developer
I accept PayPal payments to awinterz at earthlink.net


More information about the Kde-buildsystem mailing list