From b61462368b091c0ea1c495e1f17d22ae81b0e163 Mon Sep 17 00:00:00 2001 From: pommicket Date: Thu, 19 Oct 2023 11:37:56 -0400 Subject: pcre2 submodule --- .gitignore | 1 - .gitmodules | 3 +++ README.md | 6 +++--- pcre2 | 1 + 4 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .gitmodules create mode 160000 pcre2 diff --git a/.gitignore b/.gitignore index b563e60..0f052e8 100644 --- a/.gitignore +++ b/.gitignore @@ -26,7 +26,6 @@ TAGS *.msi *.zip *.a -pcre2* SDL2 *.deb .vs diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..b7f5a37 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "pcre2"] + path = pcre2 + url = https://github.com/PCRE2Project/pcre2 diff --git a/README.md b/README.md index 3d32f41..25db943 100644 --- a/README.md +++ b/README.md @@ -273,14 +273,14 @@ variable names for example. ## Building from source -First, you will need PCRE2: https://github.com/PhilipHazel/pcre2/releases. -Unzip it, put pcre2-10.X in the same folder as ted, and rename it to pcre2. +Make sure you cloned `ted` with submodules (`git clone --recursive ...`). +If you didn't, run `git submodule update --init --recursive`. To install `ted` from source on Linux, you will also need: - A C compiler - The SDL2 development libraries -- cmake (for PCRE2) +- cmake - imagemagick convert (for creating the .deb installer) These can be installed on Ubuntu/Debian with: diff --git a/pcre2 b/pcre2 new file mode 160000 index 0000000..1e146e7 --- /dev/null +++ b/pcre2 @@ -0,0 +1 @@ +Subproject commit 1e146e7343ed5bd893a1617d2b8c0072baa7a992 -- cgit v1.2.3