From a5897fe1b62a94ff9c77ce4c6743713f33e01ba1 Mon Sep 17 00:00:00 2001 From: Vladimir Bauer Date: Fri, 22 Mar 2019 13:28:52 +0300 Subject: [PATCH] call find in BSD compatible way --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 3638a1839..1752139ea 100644 --- a/src/Makefile +++ b/src/Makefile @@ -140,7 +140,7 @@ dist: distclean: clean rm -f kak kak$(suffix) - find ../doc -type f \( -name \*\\.gz -o -name \*\\.1 \) -exec rm -f '{}' + + find . ../doc -type f \( -name \*\\.gz -o -name \*\\.1 \) -exec rm -f '{}' + installdirs: install -d $(bindir) \ @@ -155,7 +155,7 @@ install: kak man installdirs install -m 0644 ../share/kak/kakrc $(sharedir) install -m 0644 ../doc/pages/*.asciidoc $(sharedir)/doc cp -r ../rc/* $(sharedir)/rc - find -type f -exec chmod 0644 {} + + find . -type f -exec chmod 0644 {} + [ -e $(sharedir)/autoload ] || ln -s rc $(sharedir)/autoload install -m 0644 ../colors/* $(sharedir)/colors install -m 0644 ../README.asciidoc $(docdir)