summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in9
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@
4sbindir=@sbindir@ 4sbindir=@sbindir@
5libdir=@libdir@ 5libdir=@libdir@
6mandir=@mandir@ 6mandir=@mandir@
7sysconfdir=@sysconfdir@
7 8
8SSH_PROGRAM=@bindir@/ssh 9SSH_PROGRAM=@bindir@/ssh
9ASKPASS_PROGRAM=@libdir@/ssh/ssh-askpass 10ASKPASS_PROGRAM=@libdir@/ssh/ssh-askpass
10 11
11CC=@CC@ 12CC=@CC@
12PATHS=-DETCDIR=\"@sysconfdir@\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DASKPASS_PROGRAM=\"$(ASKPASS_PROGRAM)\" 13PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DASKPASS_PROGRAM=\"$(ASKPASS_PROGRAM)\"
13CFLAGS=@CFLAGS@ $(PATHS) @DEFS@ 14CFLAGS=@CFLAGS@ $(PATHS) @DEFS@
14EXTRA_TARGETS=@GNOME_ASKPASS@ 15EXTRA_TARGETS=@GNOME_ASKPASS@
15TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp $(EXTRA_TARGETS) 16TARGETS=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
92distclean: clean 99distclean: clean
93 rm -f Makefile config.h core *~ 100 rm -f Makefile config.h core *~
94 101