summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-09-01 13:17:55 -0400
committerpommicket <pommicket@gmail.com>2025-09-01 13:17:55 -0400
commitdf572a668d78bcbdf234039353ef75253a96c2c2 (patch)
tree3b4721cd341d465fef880772d011db571ec4a7fe /Makefile
parentc2aba1197aeb5c602ad36820c9b6f3109b51993c (diff)
Update to PCRE2-10.46
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index dc492f8..46b3f6e 100644
--- a/Makefile
+++ b/Makefile
@@ -45,12 +45,12 @@ install: release
install -m 644 ted.cfg $(GLOBAL_DATA_DIR)
install ted $(INSTALL_BIN_DIR)
pcre-lib:
- @if [ '(' '!' -f libpcre2-32.a ')' -o '(' '!' -f libpcre2-8.a ')' ]; then \
+ @if [ '!' -f pcre2/build/Makefile ]; then \
mkdir pcre2/build && cd pcre2/build && \
- cmake -DCMAKE_BUILD_TYPE=Release -DPCRE2_BUILD_PCRE2_32=ON .. && \
- $(MAKE) -j8 && \
- cp libpcre2-32.a libpcre2-8.a ../../ ; \
+ cmake -DCMAKE_BUILD_TYPE=Release -DPCRE2_BUILD_PCRE2_32=ON ..;\
fi
+ $(MAKE) -C pcre2/build
+ cp pcre2/build/libpcre2-32.a pcre2/build/libpcre2-8.a .
keywords.h: keywords.py
python3 keywords.py
ted.deb: release