summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2005-07-03 13:02:22 +0000
committerColin Watson <cjwatson@debian.org>2005-07-03 13:02:22 +0000
commitdcf02dd84f1d624336c0505ba572080fe536ee5b (patch)
treeef4edbc64164bd1bf4148b8526f477161095c21a /debian/rules
parent7daa7dc83f249819ccdce683031deaa2d4bae4ea (diff)
Make /usr/share/doc/openssh-server and /usr/share/doc/ssh symlinks to
/usr/share/doc/openssh-client.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules11
1 files changed, 6 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index f5365c022..2f5c83c1d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -206,8 +206,9 @@ ifeq ($(PO2DEBCONF),yes)
206 po2debconf -e utf8 debian/openssh-server.templates.master > debian/openssh-server.templates 206 po2debconf -e utf8 debian/openssh-server.templates.master > debian/openssh-server.templates
207endif 207endif
208 dh_installdebconf 208 dh_installdebconf
209 dh_installdocs OVERVIEW README 209 dh_installdocs
210 cat debian/copyright.head LICENCE > debian/openssh-server/usr/share/doc/openssh-server/copyright 210 mv debian/openssh-server/usr/share/doc/openssh-server debian/openssh-server/usr/share/doc/openssh-client
211 rm -f debian/openssh-server/usr/share/doc/openssh-client/copyright
211ifeq ($(PAMSUBST),yes) 212ifeq ($(PAMSUBST),yes)
212 # Clean up if we've done this already, to ensure idempotency. 213 # Clean up if we've done this already, to ensure idempotency.
213 if [ -f debian/openssh-server.ssh.pam.new-style ]; then \ 214 if [ -f debian/openssh-server.ssh.pam.new-style ]; then \
@@ -221,7 +222,6 @@ ifeq ($(PAMSUBST),yes)
221 debian/openssh-server.ssh.pam.new-style > debian/openssh-server.ssh.pam 222 debian/openssh-server.ssh.pam.new-style > debian/openssh-server.ssh.pam
222endif 223endif
223 dh_installpam --name ssh # TODO: breaks woody backports 224 dh_installpam --name ssh # TODO: breaks woody backports
224 dh_installchangelogs ChangeLog
225 dh_link 225 dh_link
226 dh_strip 226 dh_strip
227 dh_compress 227 dh_compress
@@ -238,8 +238,9 @@ binary-ssh: build install
238 dh_testdir 238 dh_testdir
239 dh_testroot 239 dh_testroot
240 dh_installdocs 240 dh_installdocs
241 cat debian/copyright.head LICENCE > debian/ssh/usr/share/doc/ssh/copyright 241 mv debian/ssh/usr/share/doc/ssh debian/ssh/usr/share/doc/openssh-client
242 dh_installchangelogs 242 rm -f debian/ssh/usr/share/doc/openssh-client/copyright
243 dh_link
243 dh_compress 244 dh_compress
244 dh_fixperms 245 dh_fixperms
245 dh_installdeb 246 dh_installdeb