Skip to content

Commit

Permalink
Fixed sed command for building frontmatter.
Browse files Browse the repository at this point in the history
  • Loading branch information
tov committed May 18, 2020
1 parent 1adfcb1 commit c280ddd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ set(DOXYGEN_MACRO_EXPANSION YES)
set(DOXYGEN_EXPAND_ONLY_PREDEF YES)
set(DOXYGEN_EXPAND_AS_DEFINED NOEXCEPT NOEXCEPT_)

execute_process(COMMAND "sed;-E;/^\\[.*\\]: *$$/,/^ *$$/d\; s/[][]//g"
SET(sed_command sed -E "/^\\[.*\\]: *$$/,/^ *$$/d\;s/[][]//g")
execute_process(COMMAND ${sed_command}
INPUT_FILE ${readme_md}
OUTPUT_FILE ${frontmatter_md})
file(GLOB_RECURSE ge211_srcs
Expand Down

0 comments on commit c280ddd

Please sign in to comment.