about summary refs log tree commit diff
path: root/mk
diff options
context:
space:
mode:
authorAndrew Dunham <andrew@du.nham.ca>2018-04-09T01·22-0700
committerAndrew Dunham <andrew@du.nham.ca>2018-04-09T01·22-0700
commitf8ab9cef6ce9f116682f0dab81243cb61294c887 (patch)
tree9684ce782395574c9dd85b1359343e344d894411 /mk
parentb828051659cf7cac21577982afd3f9314dc2e68c (diff)
Fix missing $DESTDIR when installing programs
Diffstat (limited to 'mk')
-rw-r--r--mk/programs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/programs.mk b/mk/programs.mk
index 3ac64494e3a5..2fbda12bd153 100644
--- a/mk/programs.mk
+++ b/mk/programs.mk
@@ -51,7 +51,7 @@ define build-program
   else
 
     $(DESTDIR)$$($(1)_INSTALL_PATH): $$($(1)_PATH) | $(DESTDIR)$$($(1)_INSTALL_DIR)/
-	install -t $$($(1)_INSTALL_DIR) $$<
+	install -t $(DESTDIR)$$($(1)_INSTALL_DIR) $$<
 
   endif