From 8dedaf5cadf154d2ab9abfccb3b80347b5e78e18 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 3 Oct 2024 09:24:05 +0200 Subject: Only install header files Avoid installing *.orig or other files. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 039033a..b99d13f 100644 --- 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 -- cgit v1.3