Commits

Shlomi Fish committed 72b2260

More POD2MAN aggregated targets.

Comments (0)

Files changed (6)

src/wml_aux/iselect/CMakeLists.txt

 
 INCLUDE_DIRECTORIES( BEFORE "${CMAKE_CURRENT_BINARY_DIR}")
 
+SET (POD2MAN_TARGET_IS_A_LIST 1)
+SET (pod_dests )
 SIMPLE_POD2MAN(
-    "wml_aux_iselect"
+    "pod_dests"
     "iselect.pod"
     "iselect"
     "1"
 )
 
+SET (POD2MAN_TARGET_IS_A_LIST )
+
+ADD_CUSTOM_TARGET(
+    "wml_aux_iselect" ALL
+    DEPENDS ${pod_dests}
+)
+
 TARGET_LINK_LIBRARIES(
     iselect
     ${CURSES_LIBRARIES}

src/wml_backend/p2_mp4h/doc/CMakeLists.txt

 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")
+SET (mp4h_pod_dests )
+SET (POD2MAN_TARGET_IS_A_LIST 1)
+INST_RENAME_POD2MAN( "mp4h_pod_dests" "mp4h.pod" "mp4h" "1" "mp4h")
+SET (POD2MAN_TARGET_IS_A_LIST )
+ADD_CUSTOM_TARGET(
+    "mp4h_pod" ALL
+    DEPENDS ${mp4h_pod_dests}
+)

src/wml_backend/p3_eperl/CMakeLists.txt

 )
 
 SET (POD2MAN_SOURCE_IS_IN_BINARY 1)
-INST_RENAME_POD2MAN( "eperl_pod" "eperl.pod" "eperl" "1" "wml_p3_eperl")
+SET (POD2MAN_TARGET_IS_A_LIST 1)
+SET (eperl_pods )
+INST_RENAME_POD2MAN( "eperl_pods" "eperl.pod" "eperl" "1" "wml_p3_eperl")
+SET (POD2MAN_TARGET_IS_A_LIST)
+
+ADD_CUSTOM_TARGET(
+    "eperl_pod" ALL
+    DEPENDS "${eperl_pods}"
+)
 
 INSTALL(TARGETS ${EXE} DESTINATION "${WML_LIBEXE_DIR}")
 

src/wml_backend/p9_slice/CMakeLists.txt

 
 SET(INST_BASE "wml_p9_${BASENAME}")
 
-SET(POD2MAN_SOURCE_IS_IN_BINARY 1)
+SET (POD2MAN_SOURCE_IS_IN_BINARY 1)
+SET (POD2MAN_TARGET_IS_A_LIST 1)
+SET (pod_dests )
 INST_RENAME_POD2MAN(
-    "${BASENAME}_pod" "${destbase}" "${BASENAME}" "1" "${INST_BASE}"
+    "pod_dests" "${destbase}" "${BASENAME}" "1" "${INST_BASE}"
+)
+SET (POD2MAN_TARGET_IS_A_LIST )
+
+ADD_CUSTOM_TARGET(
+    "${BASENAME}_pod" ALL
+    DEPENDS ${pod_dests}
 )
 
 INSTALL(

src/wml_docs/CMakeLists.txt

     DEPENDS ${TAGS_POD}
 )
 
+SET (POD2MAN_TARGET_IS_A_LIST 1)
+SET (pod_dests )
+
 FOREACH(MYDOC ${WML_DOCS})
     SET (POD_SRC "${MYDOC}.pod")
     SET (MAN_LOCAL "${MYDOC}")
     IF (${MYDOC} STREQUAL "wml_tags")
         SET (POD2MAN_SOURCE_IS_IN_BINARY 1)
     ENDIF (${MYDOC} STREQUAL "wml_tags")
-    INST_POD2MAN("wml_doc_${MYDOC}_pod" "${POD_SRC}" "${MAN_LOCAL}" "7")
+    INST_POD2MAN("pod_dests" "${POD_SRC}" "${MAN_LOCAL}" "7")
 ENDFOREACH(MYDOC ${WML_DOCS})
 
+SET (POD2MAN_TARGET_IS_A_LIST )
+
+ADD_CUSTOM_TARGET(
+    "docs_pods" ALL
+    DEPENDS ${pod_dests}
+)

src/wml_frontend/CMakeLists.txt

     SET (manname "${CMAKE_CURRENT_BINARY_DIR}/${mannamebase}")
 ENDMACRO(set_vars)
 
+SET (POD2MAN_TARGET_IS_A_LIST 1)
+SET (pod_dests )
+
 FOREACH (cmd wmk wml wmb wmd wmu)
     set_vars()
     # MESSAGE( FATAL_ERROR "WML_LIB_DIR = ${WML_LIB_DIR}")
         DESTINATION "bin"
         RENAME "${cmd}"
         )
-    INST_POD2MAN("${cmd}_pod" "${srcbase}" "${mannamebase}" "1")
+    INST_POD2MAN("pod_dests" "${srcbase}" "${mannamebase}" "1")
     ADD_CUSTOM_TARGET(
         "preprocess_perl_frontend_${cmd}" ALL
         DEPENDS "${dest}"
 
 FOREACH(cmd wmd_missing)
     set_vars()
-    INST_POD2MAN("${cmd}_pod" "${srcbase}" "${mannamebase}" "1")
+    INST_POD2MAN("pod_dests" "${srcbase}" "${mannamebase}" "1")
 ENDFOREACH(cmd)
 
+SET (POD2MAN_TARGET_IS_A_LIST )
+
+ADD_CUSTOM_TARGET(
+    "frontend_pods" ALL
+    DEPENDS ${pod_dests}
+)
+
 INSTALL_DATA ("wmd.txt")
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.