summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-05-12 11:14:17 +1000
committerMaxime Coste <mawww@kakoune.org>2024-05-12 11:14:17 +1000
commit7be22f1ec28677ca0bb30316c6893ab4436734b1 (patch)
tree37fa00cbe6952fe0583f9deac57cbfe103bfa405 /Makefile
parent8c2775f665fd4aae603b423362cf0d4d917fc0df (diff)
Fix tests for OpenBSD
Using the diff provided by @krobelus on #5173 Close #5173
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 38484e63..6e995139 100644
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,7 @@ LDFLAGS-os-FreeBSD = -L/usr/local/lib
LIBS-os-Haiku = -lnetwork -lbe
-CPPFLAGS-os-OpenBSD = -DKAK_BIN_PATH="$(bindir)/kak" -I/usr/local/include
+CPPFLAGS-os-OpenBSD = -DKAK_BIN_PATH=\"$(bindir)/kak\" -I/usr/local/include
LDFLAGS-os-OpenBSD = -L/usr/local/lib
mandir-os-OpenBSD = $(DESTDIR)$(PREFIX)/man/man1
@@ -136,6 +136,9 @@ doc/kak.1.gz: doc/kak.1
check: test
test: src/kak
+ if [ $(os) = OpenBSD ]; then \
+ export KAKOUNE_RUNTIME=$$PWD/share/kak; \
+ fi && \
cd test && ./run
TAGS: tags