commit 63f1b1c7629484370ebe1868da5af4008ba877e3 parent f2e7f24daaa43c0927130b6ed02c3ed17689b3ca Author: Natanael Copa <ncopa@alpinelinux.org> Date: Thu, 3 Oct 2024 09:24:05 +0200 Only install header files Avoid installing *.orig or other files. Diffstat:
M | Makefile | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -2,8 +2,10 @@ VERSION = 2.1 PREFIX = /usr/local install: - mkdir -p $(DESTDIR)$(PREFIX)/include/fortify - cp -R include/* $(DESTDIR)$(PREFIX)/include/fortify + install -D -t $(DESTDIR)$(PREFIX)/include/fortify \ + include/*.h + install -D -t $(DESTDIR)$(PREFIX)/include/fortify/sys \ + include/sys/*.h uninstall: rm -rf $(DESTDIR)$(PREFIX)/include/fortify