summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Makefile b/include/Makefile
index b8773fe1..bf628103 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -26,7 +26,7 @@ installhdrs := sys/procfs.h
include ../Makeconf
-install-headers install: $(installhdrs:%=$(includedir)/%)
-$(includedir)/%: $(srcdir)/%
+install-headers install: $(installhdrs:%=$(DESTDIR)$(includedir)/%)
+$(DESTDIR)$(includedir)/%: $(srcdir)/%
@$(MKINSTALLDIRS) $(@D)
$(INSTALL_DATA) $< $@