diff options
-rw-r--r-- | Makefile.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 9918b0b91..365df018f 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -4,12 +4,13 @@ bindir=@bindir@ | |||
4 | sbindir=@sbindir@ | 4 | sbindir=@sbindir@ |
5 | libdir=@libdir@ | 5 | libdir=@libdir@ |
6 | mandir=@mandir@ | 6 | mandir=@mandir@ |
7 | sysconfdir=@sysconfdir@ | ||
7 | 8 | ||
8 | SSH_PROGRAM=@bindir@/ssh | 9 | SSH_PROGRAM=@bindir@/ssh |
9 | ASKPASS_PROGRAM=@libdir@/ssh/ssh-askpass | 10 | ASKPASS_PROGRAM=@libdir@/ssh/ssh-askpass |
10 | 11 | ||
11 | CC=@CC@ | 12 | CC=@CC@ |
12 | PATHS=-DETCDIR=\"@sysconfdir@\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DASKPASS_PROGRAM=\"$(ASKPASS_PROGRAM)\" | 13 | PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DASKPASS_PROGRAM=\"$(ASKPASS_PROGRAM)\" |
13 | CFLAGS=@CFLAGS@ $(PATHS) @DEFS@ | 14 | CFLAGS=@CFLAGS@ $(PATHS) @DEFS@ |
14 | EXTRA_TARGETS=@GNOME_ASKPASS@ | 15 | EXTRA_TARGETS=@GNOME_ASKPASS@ |
15 | TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp $(EXTRA_TARGETS) | 16 | TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp $(EXTRA_TARGETS) |
@@ -89,6 +90,12 @@ install: all | |||
89 | fi ; \ | 90 | fi ; \ |
90 | fi | 91 | fi |
91 | 92 | ||
93 | if [ ! -f $(sysconfdir)/ssh_config -a ! -f $(sysconfdir)/sshd_config ]; then \ | ||
94 | install -d $(sysconfdir); \ | ||
95 | install -m644 ssh_config $(sysconfdir)/ssh_config; \ | ||
96 | install -m644 sshd_config $(sysconfdir)/sshd_config; \ | ||
97 | fi | ||
98 | |||
92 | distclean: clean | 99 | distclean: clean |
93 | rm -f Makefile config.h core *~ | 100 | rm -f Makefile config.h core *~ |
94 | 101 | ||