summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--.gitmodules3
-rw-r--r--README.md6
m---------pcre20
4 files changed, 6 insertions, 4 deletions
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
+Subproject 1e146e7343ed5bd893a1617d2b8c0072baa7a99