summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-20 23:13:36 +1100
committerDamien Miller <djm@mindrot.org>2000-01-20 23:13:36 +1100
commit886c63a2c533e8ce8818580920232e4903a27da7 (patch)
treefe165f9c88b10cdef0b09873c14f118d127ce64e /Makefile.in
parent88b86e40d65b3cf1238ad9eee67555a2acae61a8 (diff)
- Big manpage and config file cleanup from Andre Lucas
<andre.lucas@dial.pipex.com> - Re-added latest (unmodified) OpenBSD manpages
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in50
1 files changed, 16 insertions, 34 deletions
diff --git a/Makefile.in b/Makefile.in
index 0bfe2f15b..020b63264 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -24,7 +24,6 @@ AR=@AR@
24RANLIB=@RANLIB@ 24RANLIB=@RANLIB@
25INSTALL=@INSTALL@ 25INSTALL=@INSTALL@
26PERL=@PERL@ 26PERL=@PERL@
27FIXPATHS=$(PERL) @top_srcdir@/fixpaths -Dsysconfdir=${sysconfdir} -Dpiddir=${piddir}
28LDFLAGS=-L. @LDFLAGS@ 27LDFLAGS=-L. @LDFLAGS@
29 28
30GNOME_CFLAGS=`gnome-config --cflags gnome gnomeui` 29GNOME_CFLAGS=`gnome-config --cflags gnome gnomeui`
@@ -38,10 +37,14 @@ SSHOBJS= ssh.o sshconnect.o log-client.o readconf.o clientloop.o
38 37
39SSHDOBJS= sshd.o auth-rhosts.o auth-krb4.o auth-pam.o auth-passwd.o auth-rsa.o auth-rh-rsa.o pty.o log-server.o login.o servconf.o serverloop.o bsd-login.o md5crypt.o 38SSHDOBJS= sshd.o auth-rhosts.o auth-krb4.o auth-pam.o auth-passwd.o auth-rsa.o auth-rh-rsa.o pty.o log-server.o login.o servconf.o serverloop.o bsd-login.o md5crypt.o
40 39
41MANPAGES=scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8 40MANPAGES = scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8
42 41
43CONFIGFILES=sshd_config ssh_config 42CONFIGFILES=sshd_config ssh_config
44 43
44PATHSUBS = -D/etc/ssh_config=$(sysconfdir)/ssh_config -D/etc/sshd_config=$(sysconfdir)/sshd_config -D/etc/shosts.equiv=$(sysconfdir)/shosts.equiv -D/etc/ssh_host_key=$(sysconfdir)/ssh_host_key -D/var/run/sshd.pid=$(piddir)/sshd.pid
45
46FIXPATHSCMD = $(PERL) $(srcdir)/fixpaths $(PATHSUBS)
47
45all: $(TARGETS) $(MANPAGES) $(CONFIGFILES) 48all: $(TARGETS) $(MANPAGES) $(CONFIGFILES)
46 49
47$(LIBOBJS): config.h 50$(LIBOBJS): config.h
@@ -71,33 +74,12 @@ ssh-keygen: libssh.a ssh-keygen.o log-client.o
71gnome-ssh-askpass: gnome-ssh-askpass.c 74gnome-ssh-askpass: gnome-ssh-askpass.c
72 $(CC) $(CFLAGS) $(GNOME_CFLAGS) -o $@ gnome-ssh-askpass.c $(GNOME_LIBS) 75 $(CC) $(CFLAGS) $(GNOME_CFLAGS) -o $@ gnome-ssh-askpass.c $(GNOME_LIBS)
73 76
74scp.1: scp.1.in 77$(MANPAGES) $(CONFIGFILES)::
75 $(FIXPATHS) $(srcdir)/scp.1.in 78 $(FIXPATHSCMD) $(srcdir)/$@
76
77ssh-add.1: ssh-add.1.in
78 $(FIXPATHS) ssh-add.1.in
79
80ssh-agent.1: ssh-agent.1.in
81 $(FIXPATHS) ssh-agent.1.in
82
83ssh-keygen.1: ssh-keygen.1.in
84 $(FIXPATHS) ssh-keygen.1.in
85
86ssh.1: ssh.1.in
87 $(FIXPATHS) ssh.1.in
88
89sshd.8: sshd.8.in
90 $(FIXPATHS) sshd.8.in
91
92sshd_config: sshd_config.in
93 $(FIXPATHS) sshd_config.in
94
95ssh_config: ssh_config.in
96 $(FIXPATHS) ssh_config.in
97 79
98clean: 80clean:
99 rm -f *.o *.a $(TARGETS) config.status config.cache config.log 81 rm -f *.o *.a $(TARGETS) config.status config.cache config.log
100 rm -f core *.1 *.8 sshd_config ssh_config 82 rm -f *.out core
101 83
102distclean: clean 84distclean: clean
103 rm -f Makefile config.h core *~ 85 rm -f Makefile config.h core *~
@@ -119,12 +101,12 @@ install: $(TARGETS)
119 $(INSTALL) -s ssh-agent $(bindir)/ssh-agent 101 $(INSTALL) -s ssh-agent $(bindir)/ssh-agent
120 $(INSTALL) -s ssh-keygen $(bindir)/ssh-keygen 102 $(INSTALL) -s ssh-keygen $(bindir)/ssh-keygen
121 $(INSTALL) -s sshd $(sbindir)/sshd 103 $(INSTALL) -s sshd $(sbindir)/sshd
122 $(INSTALL) -m 644 ssh.1 $(mandir)/man1/ssh.1 104 $(INSTALL) -m 644 ssh.1.out $(mandir)/man1/ssh.1
123 $(INSTALL) -m 644 scp.1 $(mandir)/man1/scp.1 105 $(INSTALL) -m 644 scp.1.out $(mandir)/man1/scp.1
124 $(INSTALL) -m 644 ssh-add.1 $(mandir)/man1/ssh-add.1 106 $(INSTALL) -m 644 ssh-add.1.out $(mandir)/man1/ssh-add.1
125 $(INSTALL) -m 644 ssh-agent.1 $(mandir)/man1/ssh-agent.1 107 $(INSTALL) -m 644 ssh-agent.1.out $(mandir)/man1/ssh-agent.1
126 $(INSTALL) -m 644 ssh-keygen.1 $(mandir)/man1/ssh-keygen.1 108 $(INSTALL) -m 644 ssh-keygen.1.out $(mandir)/man1/ssh-keygen.1
127 $(INSTALL) -m 644 sshd.8 $(mandir)/man8/sshd.8 109 $(INSTALL) -m 644 sshd.8.out $(mandir)/man8/sshd.8
128 -rm -f $(bindir)/slogin 110 -rm -f $(bindir)/slogin
129 ln -s ssh $(bindir)/slogin 111 ln -s ssh $(bindir)/slogin
130 -rm -f $(mandir)/man1/slogin.1 112 -rm -f $(mandir)/man1/slogin.1
@@ -138,8 +120,8 @@ install: $(TARGETS)
138 120
139 if [ ! -f $(sysconfdir)/ssh_config -a ! -f $(sysconfdir)/sshd_config ]; then \ 121 if [ ! -f $(sysconfdir)/ssh_config -a ! -f $(sysconfdir)/sshd_config ]; then \
140 $(INSTALL) -d $(sysconfdir); \ 122 $(INSTALL) -d $(sysconfdir); \
141 $(INSTALL) -m 644 ssh_config $(sysconfdir)/ssh_config; \ 123 $(INSTALL) -m 644 ssh_config.out $(sysconfdir)/ssh_config; \
142 $(INSTALL) -m 644 sshd_config $(sysconfdir)/sshd_config; \ 124 $(INSTALL) -m 644 sshd_config.out $(sysconfdir)/sshd_config; \
143 fi 125 fi
144 126
145uninstallall: uninstall 127uninstallall: uninstall