summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNatanael Copa2024-10-03 09:24:05 +0200
committerjvoisin2025-10-31 22:16:21 +0100
commit8dedaf5cadf154d2ab9abfccb3b80347b5e78e18 (patch)
tree38332f711576642ffac14f68d75b2c85ac8ff0cc /Makefile
parentf626e963acd7314915043e6dacf655072fb31d7c (diff)
Only install header files
Avoid installing *.orig or other files.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 039033a..b99d13f 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,10 @@ VERSION = 1.1
2PREFIX = /usr/local 2PREFIX = /usr/local
3 3
4install: 4install:
5 mkdir -p $(DESTDIR)$(PREFIX)/include/fortify 5 install -D -t $(DESTDIR)$(PREFIX)/include/fortify \
6 cp -R include/* $(DESTDIR)$(PREFIX)/include/fortify 6 include/*.h
7 install -D -t $(DESTDIR)$(PREFIX)/include/fortify/sys \
8 include/sys/*.h
7 9
8uninstall: 10uninstall:
9 rm -rf $(DESTDIR)$(PREFIX)/include/fortify 11 rm -rf $(DESTDIR)$(PREFIX)/include/fortify