[PATCH 1/6] tools lib api: clean up install_headers

From: Ian Rogers
Date: Wed Nov 16 2022 - 19:44:34 EST


Add missing backslash that caused an install command to always appear
in build output. Make the install headers more specific.

Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
---
tools/lib/api/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/lib/api/Makefile b/tools/lib/api/Makefile
index 3e5ef1e0e890..3649c7f7ea65 100644
--- a/tools/lib/api/Makefile
+++ b/tools/lib/api/Makefile
@@ -100,12 +100,12 @@ install_lib: $(LIBFILE)
cp -fpR $(LIBFILE) $(DESTDIR)$(libdir_SQ)

install_headers:
- $(call QUIET_INSTALL, headers) \
+ $(call QUIET_INSTALL, libapi_headers) \
$(call do_install,cpu.h,$(prefix)/include/api,644); \
$(call do_install,debug.h,$(prefix)/include/api,644); \
$(call do_install,io.h,$(prefix)/include/api,644); \
$(call do_install,fd/array.h,$(prefix)/include/api/fd,644); \
- $(call do_install,fs/fs.h,$(prefix)/include/api/fs,644);
+ $(call do_install,fs/fs.h,$(prefix)/include/api/fs,644); \
$(call do_install,fs/tracing_path.h,$(prefix)/include/api/fs,644);

install: install_lib install_headers
--
2.38.1.431.g37b22c650d-goog