Commits

Shlomi Fish committed c866b34

Add a comment for the texi.

  • Participants
  • Parent commits cfd4bfa
  • Branches conversion-to-cmake

Comments (0)

Files changed (1)

src/wml_backend/p2_mp4h/doc/CMakeLists.txt

+# TODO :
+# Add targets for the texi files.
+
 SET (POD_PATH  "mp4h.pod")
 SET (HTML_PATH  "mp4h.html")
 SET (PROGDIR "${CMAKE_BINARY_DIR}/wml_backend/p2_mp4h/src")
 ENDMACRO(PREPARE_MP4H_DOC TARGET FORMAT)
 
 PREPARE_MP4H_DOC ("${CMAKE_CURRENT_BINARY_DIR}/${POD_PATH}" "pod")
-PREPARE_MP4H_DOC ("${CMAKE_CURRENT_BINARY_DIR}/${HTML_PATH}" "html")
+SET (HTML_TARGET "${CMAKE_CURRENT_BINARY_DIR}/${HTML_PATH}")
+PREPARE_MP4H_DOC ("${HTML_TARGET}" "html")
+
+ADD_CUSTOM_TARGET( "mp4h_doc_html" ALL DEPENDS "${HTML_TARGET}" )
 
 SET (POD2MAN_SOURCE_IS_IN_BINARY 1)
 INST_RENAME_POD2MAN( "mp4h_pod" "mp4h.pod" "mp4h" "1" "mp4h")