diff options
author | 1999-09-27 23:47:43 +0000 | |
---|---|---|
committer | 1999-09-27 23:47:43 +0000 | |
commit | b130d20687b09f3b66f243804f681cdc46e12f77 (patch) | |
tree | 21d52f5dc8f34d0d994fdc7560cc56d6416433ec | |
parent | oops (diff) | |
download | wireguard-openbsd-b130d20687b09f3b66f243804f681cdc46e12f77.tar.xz wireguard-openbsd-b130d20687b09f3b66f243804f681cdc46e12f77.zip |
fix distribution target
-rw-r--r-- | usr.bin/ssh/Makefile | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/usr.bin/ssh/Makefile b/usr.bin/ssh/Makefile index 84ae1c06796..ad7d0b53e6c 100644 --- a/usr.bin/ssh/Makefile +++ b/usr.bin/ssh/Makefile @@ -1,19 +1,13 @@ -# $OpenBSD: Makefile,v 1.3 1999/09/26 22:29:50 deraadt Exp $ +# $OpenBSD: Makefile,v 1.4 1999/09/27 23:47:43 deraadt Exp $ .include <bsd.own.mk> -SUBDIR= ssh sshd ssh-add ssh-keygen ssh-agent scp - -generate-host-key: - -@if [ -f ${DESTDIR}/etc/ssh_host_key ]; then \ - echo "Host key exists in ${DESTDIR}/etc/ssh_host_key."; \ - else \ - umask 022; echo "Generating 1024 bit host key."; \ - ssh-keygen -b 1024 -f ${DESTDIR}/etc/ssh_host_key -N ''; \ - fi +SUBDIR= ssh sshd ssh-add ssh-keygen ssh-agent scp distribution: - install -C -o root -g wheel -m 0644 ${.CURDIR}/etc/ssh_config /etc - install -C -o root -g wheel -m 0644 ${.CURDIR}/etc/sshd_config /etc + install -C -o root -g wheel -m 0644 ${.CURDIR}/ssh_config \ + ${DESTDIR}/etc/ssh_config + install -C -o root -g wheel -m 0644 ${.CURDIR}/sshd_config \ + ${DESTDIR}/etc/sshd_config .include <bsd.subdir.mk> |