1. Shlomi Fish
  2. Website Meta Language

Commits

shl...@7081e830-ea04-0410-ae62-fb6148e2d9db  committed c1f3ef3

Implement the tidy cat_man installation

  • Participants
  • Parent commits 068a3e6
  • Branches conversion-to-cmake

Comments (0)

Files changed (1)

File src/wml_aux/tidy/CMakeLists.txt

View file
    tidy.c
 )
 
+SET (html "Overview.html")
+SET (man "wml_aux_tidy.1")
+ADD_CUSTOM_COMMAND(
+    OUTPUT "${man}"
+    COMMAND "lynx"
+    ARGS "-dump" "-nolist" "-width=72" "${html}" ">" "${man}"
+    DEPENDS "${html}"
+)
+
+ADD_CUSTOM_TARGET(
+    "tidy_manify" ALL
+    DEPENDS "${man}"
+)
+
+INSTALL_CAT_MAN ("${man}" "1")