commit 8dedaf5cadf154d2ab9abfccb3b80347b5e78e18 parent f626e963acd7314915043e6dacf655072fb31d7c 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 = 1.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