summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-22 13:53:11 +1100
committerDamien Miller <djm@mindrot.org>2000-01-22 13:53:11 +1100
commit670a4b85540245ffc3db2ac2661f4c4c7a826118 (patch)
treef009837881fac9a1ef5440f2c22ab1574fe13151 /Makefile.in
parent91427007bca1c7e064d720820bcafce3573a668d (diff)
- Merge preformatted manpage patch from Andre Lucas
<andre.lucas@dial.pipex.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in57
1 files changed, 31 insertions, 26 deletions
diff --git a/Makefile.in b/Makefile.in
index 020b63264..0c9ea0d44 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -4,6 +4,7 @@ bindir=@bindir@
4sbindir=@sbindir@ 4sbindir=@sbindir@
5libexecdir=@libexecdir@ 5libexecdir=@libexecdir@
6mandir=@mandir@ 6mandir=@mandir@
7mansubdir=@mansubdir@
7sysconfdir=@sysconfdir@ 8sysconfdir=@sysconfdir@
8piddir=@piddir@ 9piddir=@piddir@
9srcdir=@srcdir@ 10srcdir=@srcdir@
@@ -37,7 +38,9 @@ SSHOBJS= ssh.o sshconnect.o log-client.o readconf.o clientloop.o
37 38
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 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
39 40
40MANPAGES = scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8 41TROFFMAN = scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8
42CATMAN = scp.0 ssh-add.0 ssh-agent.0 ssh-keygen.0 ssh.0 sshd.0
43MANPAGES = @MANTYPE@
41 44
42CONFIGFILES=sshd_config ssh_config 45CONFIGFILES=sshd_config ssh_config
43 46
@@ -87,30 +90,37 @@ distclean: clean
87mrproper: distclean 90mrproper: distclean
88 91
89veryclean: distclean 92veryclean: distclean
90 rm -f configure config.h.in 93 rm -f configure config.h.in *.0
94
95catman-do:
96 @for f in $(TROFFMAN) ; do \
97 echo "$$f -> $${f%%.[18]}.0" ; \
98 nroff -mandoc $$f | cat -v | sed -e 's/.\^H//g' \
99 >$${f%%.[18]}.0 ; \
100 done
91 101
92install: $(TARGETS) 102install: $(TARGETS)
93 $(INSTALL) -d $(bindir) 103 $(INSTALL) -d $(bindir)
94 $(INSTALL) -d $(sbindir) 104 $(INSTALL) -d $(sbindir)
95 $(INSTALL) -d $(mandir) 105 $(INSTALL) -d $(mandir)
96 $(INSTALL) -d $(mandir)/man1 106 $(INSTALL) -d $(mandir)/$(mansubdir)1
97 $(INSTALL) -d $(mandir)/man8 107 $(INSTALL) -d $(mandir)/$(mansubdir)8
98 $(INSTALL) -s ssh $(bindir)/ssh 108 $(INSTALL) -s ssh $(bindir)/ssh
99 $(INSTALL) -s scp $(bindir)/scp 109 $(INSTALL) -s scp $(bindir)/scp
100 $(INSTALL) -s ssh-add $(bindir)/ssh-add 110 $(INSTALL) -s ssh-add $(bindir)/ssh-add
101 $(INSTALL) -s ssh-agent $(bindir)/ssh-agent 111 $(INSTALL) -s ssh-agent $(bindir)/ssh-agent
102 $(INSTALL) -s ssh-keygen $(bindir)/ssh-keygen 112 $(INSTALL) -s ssh-keygen $(bindir)/ssh-keygen
103 $(INSTALL) -s sshd $(sbindir)/sshd 113 $(INSTALL) -s sshd $(sbindir)/sshd
104 $(INSTALL) -m 644 ssh.1.out $(mandir)/man1/ssh.1 114 $(INSTALL) -m 644 ssh.[01].out $(mandir)/$(mansubdir)1/ssh.1
105 $(INSTALL) -m 644 scp.1.out $(mandir)/man1/scp.1 115 $(INSTALL) -m 644 scp.[01].out $(mandir)/$(mansubdir)1/scp.1
106 $(INSTALL) -m 644 ssh-add.1.out $(mandir)/man1/ssh-add.1 116 $(INSTALL) -m 644 ssh-add.[01].out $(mandir)/$(mansubdir)1/ssh-add.1
107 $(INSTALL) -m 644 ssh-agent.1.out $(mandir)/man1/ssh-agent.1 117 $(INSTALL) -m 644 ssh-agent.[01].out $(mandir)/$(mansubdir)1/ssh-agent.1
108 $(INSTALL) -m 644 ssh-keygen.1.out $(mandir)/man1/ssh-keygen.1 118 $(INSTALL) -m 644 ssh-keygen.[01].out $(mandir)/$(mansubdir)1/ssh-keygen.1
109 $(INSTALL) -m 644 sshd.8.out $(mandir)/man8/sshd.8 119 $(INSTALL) -m 644 sshd.[08].out $(mandir)/$(mansubdir)8/sshd.8
110 -rm -f $(bindir)/slogin 120 -rm -f $(bindir)/slogin
111 ln -s ssh $(bindir)/slogin 121 ln -s ssh $(bindir)/slogin
112 -rm -f $(mandir)/man1/slogin.1 122 -rm -f $(mandir)/$(mansubdir)1/slogin.1
113 ln -s ssh.1 $(mandir)/man1/slogin.1 123 ln -s ssh.1 $(mandir)/$(mansubdir)1/slogin.1
114 124
115 if [ ! -z "@GNOME_ASKPASS@" ] ; then \ 125 if [ ! -z "@GNOME_ASKPASS@" ] ; then \
116 $(INSTALL) -d $(libexecdir) ; \ 126 $(INSTALL) -d $(libexecdir) ; \
@@ -130,8 +140,8 @@ uninstallall: uninstall
130 -rmdir $(sysconfdir) 140 -rmdir $(sysconfdir)
131 -rmdir $(bindir) 141 -rmdir $(bindir)
132 -rmdir $(sbindir) 142 -rmdir $(sbindir)
133 -rmdir $(mandir)/man1 143 -rmdir $(mandir)/$(mansubdir)1
134 -rmdir $(mandir)/man8 144 -rmdir $(mandir)/$(mansubdir)8
135 -rmdir $(mandir) 145 -rmdir $(mandir)
136 -rmdir $(libexecdir) 146 -rmdir $(libexecdir)
137 147
@@ -142,18 +152,13 @@ uninstall:
142 -rm -f $(bindir)/ssh-agent 152 -rm -f $(bindir)/ssh-agent
143 -rm -f $(bindir)/ssh-keygen 153 -rm -f $(bindir)/ssh-keygen
144 -rm -f $(sbindir)/sshd 154 -rm -f $(sbindir)/sshd
145 -rm -f $(mandir)/man1/ssh.1 155 -rm -f $(mandir)/$(mansubdir)1/ssh.1
146 -rm -f $(mandir)/man1/scp.1 156 -rm -f $(mandir)/$(mansubdir)1/scp.1
147 -rm -f $(mandir)/man1/ssh-add.1 157 -rm -f $(mandir)/$(mansubdir)1/ssh-add.1
148 -rm -f $(mandir)/man1/ssh-agent.1 158 -rm -f $(mandir)/$(mansubdir)1/ssh-agent.1
149 -rm -f $(mandir)/man1/ssh-keygen.1 159 -rm -f $(mandir)/$(mansubdir)1/ssh-keygen.1
150 -rm -f $(mandir)/man8/sshd.8 160 -rm -f $(mandir)/$(mansubdir)8/sshd.8
151 -rm -f $(bindir)/slogin 161 -rm -f $(bindir)/slogin
152 -rm -f $(mandir)/man1/slogin.1 162 -rm -f $(mandir)/$(mansubdir)1/slogin.1
153 -rm -f ${ASKPASS_PROGRAM} 163 -rm -f ${ASKPASS_PROGRAM}
154 -rmdir $(libexecdir)/ssh ; 164 -rmdir $(libexecdir)/ssh ;
155
156preformat:
157 -rm -f catman
158 -mkdir catman
159 for x in $(MANPAGES) ; do man ./$${x}.in > catman/$${x}.in ; done