From 7a17278ce3d8cb829770d31d57824611ae8c3bed Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Fri, 17 Nov 2023 09:48:52 +0000 Subject: [PATCH] Makefile.am, CMakeLists.txt: add syntax files to distribution. --- CMakeLists.txt | 7 ++++++- Makefile.am | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) 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 \