diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index d0d8ba936..362fd7084 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -47,9 +47,9 @@ TROFFMAN = scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8 sftp-server.8 | |||
47 | CATMAN = scp.0 ssh-add.0 ssh-agent.0 ssh-keygen.0 ssh.0 sshd.0 sftp-server.0 | 47 | CATMAN = scp.0 ssh-add.0 ssh-agent.0 ssh-keygen.0 ssh.0 sshd.0 sftp-server.0 |
48 | MANPAGES = @MANTYPE@ | 48 | MANPAGES = @MANTYPE@ |
49 | 49 | ||
50 | CONFIGFILES=sshd_config ssh_config | 50 | CONFIGFILES=sshd_config ssh_config primes |
51 | 51 | ||
52 | PATHSUBS = -D/etc/ssh_config=$(sysconfdir)/ssh_config -D/etc/ssh_known_hosts=$(sysconfdir)/ssh_known_hosts -D/etc/sshd_config=$(sysconfdir)/sshd_config -D/usr/libexec=$(libexecdir) -D/etc/shosts.equiv=$(sysconfdir)/shosts.equiv -D/etc/ssh_host_key=$(sysconfdir)/ssh_host_key -D/var/run/sshd.pid=$(piddir)/sshd.pid | 52 | PATHSUBS = -D/etc/ssh_config=$(sysconfdir)/ssh_config -D/etc/ssh_known_hosts=$(sysconfdir)/ssh_known_hosts -D/etc/sshd_config=$(sysconfdir)/sshd_config -D/usr/libexec=$(libexecdir) -D/etc/shosts.equiv=$(sysconfdir)/shosts.equiv -D/etc/ssh_host_key=$(sysconfdir)/ssh_host_key -D/var/run/sshd.pid=$(piddir)/sshd.pid -D/etc/primes=$(sysconfdir)/primes |
53 | 53 | ||
54 | FIXPATHSCMD = $(PERL) $(srcdir)/fixpaths $(PATHSUBS) | 54 | FIXPATHSCMD = $(PERL) $(srcdir)/fixpaths $(PATHSUBS) |
55 | 55 | ||
@@ -147,17 +147,32 @@ install-files: | |||
147 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 | 147 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 |
148 | ln -s ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 | 148 | ln -s ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 |
149 | @FILEPRIV@ -f dev,filesys,driver $(DESTDIR)$(bindir)/ssh $(DESTDIR)$(bindir)/slogin | 149 | @FILEPRIV@ -f dev,filesys,driver $(DESTDIR)$(bindir)/ssh $(DESTDIR)$(bindir)/slogin |
150 | if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_config -a ! -f $(DESTDIR)$(sysconfdir)/sshd_config ]; then \ | 150 | if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \ |
151 | $(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir); \ | 151 | $(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir); \ |
152 | fi | ||
153 | if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_config ]; then \ | ||
152 | $(INSTALL) -m 644 ssh_config.out $(DESTDIR)$(sysconfdir)/ssh_config; \ | 154 | $(INSTALL) -m 644 ssh_config.out $(DESTDIR)$(sysconfdir)/ssh_config; \ |
155 | else \ | ||
156 | echo "$(DESTDIR)$(sysconfdir)/ssh_config already exists, install will not overwrite" \ | ||
157 | fi | ||
158 | if [ ! -f $(DESTDIR)$(sysconfdir)/sshd_config ]; then \ | ||
153 | $(INSTALL) -m 644 sshd_config.out $(DESTDIR)$(sysconfdir)/sshd_config; \ | 159 | $(INSTALL) -m 644 sshd_config.out $(DESTDIR)$(sysconfdir)/sshd_config; \ |
160 | else \ | ||
161 | echo "$(DESTDIR)$(sysconfdir)/sshd_config already exists, install will not overwrite" \ | ||
154 | fi | 162 | fi |
155 | if [ -f ssh_prng_cmds -a ! -z "$(INSTALL_SSH_PRNG_CMDS)" ]; then \ | 163 | if [ -f ssh_prng_cmds -a ! -z "$(INSTALL_SSH_PRNG_CMDS)" ]; then \ |
156 | $(PERL) $(srcdir)/fixprogs ssh_prng_cmds $(ENT); \ | 164 | $(PERL) $(srcdir)/fixprogs ssh_prng_cmds $(ENT); \ |
157 | if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_prng_cmds ] ; then \ | 165 | if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_prng_cmds ] ; then \ |
158 | $(INSTALL) -m 644 ssh_prng_cmds.out $(DESTDIR)$(sysconfdir)/ssh_prng_cmds; \ | 166 | $(INSTALL) -m 644 ssh_prng_cmds.out $(DESTDIR)$(sysconfdir)/ssh_prng_cmds; \ |
167 | else \ | ||
168 | echo "$(DESTDIR)$(sysconfdir)/ssh_prng_cmds already exists, install will not overwrite" \ | ||
159 | fi ; \ | 169 | fi ; \ |
160 | fi | 170 | fi |
171 | if [ ! -f $(DESTDIR)$(sysconfdir)/primes ]; then \ | ||
172 | $(INSTALL) -m 644 primes $(DESTDIR)$(sysconfdir)/primes; \ | ||
173 | else \ | ||
174 | echo "$(DESTDIR)$(sysconfdir)/primes already exists, install will not overwrite" \ | ||
175 | fi | ||
161 | 176 | ||
162 | host-key: ssh-keygen$(EXEEXT) | 177 | host-key: ssh-keygen$(EXEEXT) |
163 | if [ -z "$(DESTDIR)" ] ; then \ | 178 | if [ -z "$(DESTDIR)" ] ; then \ |