diff options
| author | Natanael Copa | 2024-10-03 09:24:05 +0200 |
|---|---|---|
| committer | Julien Voisin | 2024-10-03 18:22:24 +0000 |
| commit | 63f1b1c7629484370ebe1868da5af4008ba877e3 (patch) | |
| tree | 2312afbbb7e98a6a9ae326a785c88e43d8f242f6 | |
| parent | f2e7f24daaa43c0927130b6ed02c3ed17689b3ca (diff) | |
Only install header files
Avoid installing *.orig or other files.
| -rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -2,8 +2,10 @@ VERSION = 2.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 |
