Skip to content

Commit

Permalink
Makefile.am, CMakeLists.txt: add syntax files to distribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
skvadrik committed Nov 17, 2023
1 parent 18fbd93 commit 7a17278
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 7a17278

Please sign in to comment.