Makefile: Explicit stdin from terminal, so `make -j' builds work.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 8 Mar 2014 14:58:29 +0000 (14:58 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 8 Mar 2014 14:58:29 +0000 (14:58 +0000)
Arrange that stdin is /dev/tty for local installs so that they can be
confirmed manually.

Makefile

index 1c48383..a0cc605 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -147,7 +147,7 @@ check: $(THISHOST).sh
 ## Installation on a local host,
 install/$(THISHOST): $(THISHOST).sh
        [ "x$(SCRIPTS)" = x ] || $(ROOT) install -m755 $(SCRIPTS) $(sbindir)
-       $(ROOT) ./$(THISHOST).sh replace
+       $(ROOT) ./$(THISHOST).sh replace </dev/tty
 
 ## Installation on a remote host.
 $(addprefix install/, $(OTHERHOSTS)): install/%: %.sh