commit 2ef4b50aba9db5527933415684e53b0dde5de7c9
parent 68d605de8f82a93c4221a039452e835e770e4385
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 8 Oct 2025 16:55:09 +0200
Fix the definition of access rights in the install target
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -148,7 +148,7 @@ install: library util pkg $(PLUGIN)
install() { mode="$$1"; prefix="$$2"; shift 2; \
mkdir -p "$${prefix}"; \
cp "$$@" "$${prefix}"; \
- chmod "$${mode}" "$$@"; \
+ chmod "$${mode}" "$${prefix}/$${@##*/}"; \
}; \
install 755 "$(DESTDIR)$(LIBPREFIX)" $(LIBNAME); \
install 644 "$(DESTDIR)$(LIBPREFIX)/pkgconfig" smeteo.pc; \