From 63f1b1c7629484370ebe1868da5af4008ba877e3 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(-) diff --git a/Makefile b/Makefile index 821dc27..7acf4ec 100644 --- 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 -- cgit v1.3