diff --git a/CMakeLists.txt b/CMakeLists.txt index 79c92028f..51a38ba0a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -346,7 +346,12 @@ if (CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR) install(TARGETS re2rust RUNTIME DESTINATION bin) install(FILES "${re2c_manpage_rust}" DESTINATION "share/man/man1") endif() - install(FILES include/unicode_categories.re DESTINATION "${RE2C_STDLIB_DIR}") + install(FILES + include/syntax/c + include/syntax/go + include/syntax/rust + include/unicode_categories.re + DESTINATION "${RE2C_STDLIB_DIR}") # rebuild all re2c sources using newly built re2c add_custom_target(bootstrap diff --git a/Makefile.am b/Makefile.am index 63378da46..12ecef013 100644 --- a/Makefile.am +++ b/Makefile.am @@ -319,7 +319,11 @@ endif man_MANS = $(DOCS) # include files (stdlib) -dist_stdlib_DATA = include/unicode_categories.re +dist_stdlib_DATA = \ + include/syntax/c \ + include/syntax/go \ + include/syntax/rust \ + include/unicode_categories.re BAZELFILES := \ BUILD.bazel \