diff options
| author | Natanael Copa | 2024-10-03 09:24:05 +0200 |
|---|---|---|
| committer | jvoisin | 2025-10-31 22:16:21 +0100 |
| commit | 8dedaf5cadf154d2ab9abfccb3b80347b5e78e18 (patch) | |
| tree | 38332f711576642ffac14f68d75b2c85ac8ff0cc /Makefile | |
| parent | f626e963acd7314915043e6dacf655072fb31d7c (diff) | |
Only install header files
Avoid installing *.orig or other files.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -2,8 +2,10 @@ VERSION = 1.1 | |||
| 2 | PREFIX = /usr/local | 2 | PREFIX = /usr/local |
| 3 | 3 | ||
| 4 | install: | 4 | install: |
| 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 | ||
| 8 | uninstall: | 10 | uninstall: |
| 9 | rm -rf $(DESTDIR)$(PREFIX)/include/fortify | 11 | rm -rf $(DESTDIR)$(PREFIX)/include/fortify |
