Commits

Anonymous committed 491dfb5

Now installing the wmd_missing man page

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

Comments (0)

Files changed (1)

src/wml_frontend/CMakeLists.txt

     OUTPUT_VARIABLE date
 )
 
-FOREACH (cmd wmk wml wmb wmd wmu)
+MACRO(set_vars)
     SET (destbase "${cmd}.pl")
     SET (dest "${CMAKE_CURRENT_BINARY_DIR}/${destbase}")
     SET (src "${CMAKE_CURRENT_SOURCE_DIR}/${cmd}.src")
-    SET (manname "${CMAKE_CURRENT_BINARY_DIR}/${cmd}")
+    SET (manname "${CMAKE_CURRENT_BINARY_DIR}/${cmd}")    
+ENDMACRO(set_vars)
 
+FOREACH (cmd wmk wml wmb wmd wmu)
+    set_vars()
     ADD_CUSTOM_COMMAND(
         OUTPUT "${dest}"
         COMMAND "${PERL_EXECUTABLE}"
         DEPENDS "${dest}"
     )
 ENDFOREACH(cmd)
+
+FOREACH(cmd wmd_missing)
+    set_vars()
+    INST_POD2MAN("${cmd}_pod" "${src}" "${manname}" "1")
+ENDFOREACH(cmd)
+