summaryrefslogtreecommitdiff
path: root/login/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'login/Makefile')
-rw-r--r--login/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/login/Makefile b/login/Makefile
index ce321cba97..e203e9a692 100644
--- a/login/Makefile
+++ b/login/Makefile
@@ -54,7 +54,8 @@ include ../Rules
# pt_chown needs to be setuid root.
$(inst_libexecdir)/pt_chown: $(objpfx)pt_chown
- $(INSTALL) -m 4755 -o root $< $@
+ $(make-target-directory)
+ -$(INSTALL) -m 4755 -o root $< $@
$(objpfx)utmpd: $(utmpd-routines:%=$(objpfx)%.o)