From 2bd6a88db6a4a97296f7598b6bbaf373c9a355a8 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 19 Sep 2023 18:44:13 +0200 Subject: [PATCH] MT#58307 build: Use install instead of cp Change-Id: I94cbc9331a324dafe6670ece8f9a969fdb868b85 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 52087a5..275abeb 100644 --- a/Makefile +++ b/Makefile @@ -27,9 +27,9 @@ clean: install: all mkdir -p $(DESTDIR)$(HDRDIR) - cp include/*.h $(DESTDIR)$(HDRDIR) + install include/*.h $(DESTDIR)$(HDRDIR) mkdir -p $(DESTDIR)$(LIBDIR) - cp src/$(LIBSONAME) $(DESTDIR)$(LIBDIR) + install src/$(LIBSONAME) $(DESTDIR)$(LIBDIR) ln -s $(LIBSONAME) $(DESTDIR)$(LIBDIR)/$(LIBSO) .PHONY: all regenerate-asn1 clean install