summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-09-27 23:47:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-09-27 23:47:44 +0000
commit7a98fd4a49fe456db79bf1c15443d90fa1d6281a (patch)
tree2409246350d8f6a7cfd8a63220b513231eaaed2a
parent2ef029e65c5d1418b3e26ccf1359a2e6911398c5 (diff)
fix distribution target
-rw-r--r--usr.bin/ssh/Makefile18
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>