diff options
author | Tim Rice <tim@multitalents.net> | 2009-12-26 15:40:47 -0800 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2009-12-26 15:40:47 -0800 |
commit | 880ab0d84e1c7d7957ff38d6506ff92868407a77 (patch) | |
tree | 72fb05dea23828f94b5b665dadc9ecd648d62941 /contrib/cygwin | |
parent | 1bf3503c9d5f0c79a108ea0060bcec3e0efe2b37 (diff) |
- (tim) [contrib/cygwin/Makefile] Install ssh-copy-id and ssh-copy-id.1
Gzip all man pages. Patch from Corinna Vinschen.
Diffstat (limited to 'contrib/cygwin')
-rw-r--r-- | contrib/cygwin/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/contrib/cygwin/Makefile b/contrib/cygwin/Makefile index 2ebd143d..9f680c16 100644 --- a/contrib/cygwin/Makefile +++ b/contrib/cygwin/Makefile @@ -1,8 +1,10 @@ srcdir=../.. +copyidsrcdir=.. prefix=/usr exec_prefix=$(prefix) bindir=$(prefix)/bin datadir=$(prefix)/share +mandir=$(datadir)/man docdir=$(datadir)/doc sshdocdir=$(docdir)/openssh cygdocdir=$(docdir)/Cygwin @@ -59,5 +61,16 @@ install-scripts: ssh-host-config ssh-user-config $(INSTALL) -m 755 ssh-host-config $(DESTDIR)$(bindir)/ssh-host-config $(INSTALL) -m 755 ssh-user-config $(DESTDIR)$(bindir)/ssh-user-config -cygwin-postinstall: move-config-files remove-empty-dir install-inetd-config install-doc install-scripts +install-copy-id: $(copyidsrcdir)/ssh-copy-id $(copyidsrcdir)/ssh-copy-id.1 + $(INSTALL) -m 755 $(copyidsrcdir)/ssh-copy-id $(DESTDIR)$(bindir)/ssh-copy-id + $(INSTALL) -m 644 $(copyidsrcdir)/ssh-copy-id.1 $(DESTDIR)$(mandir)/man1/ssh-copy-id.1 + +gzip-man-pages: + rm $(DESTDIR)$(mandir)/man1/slogin.1 + gzip $(DESTDIR)$(mandir)/man1/*.1 + gzip $(DESTDIR)$(mandir)/man5/*.5 + gzip $(DESTDIR)$(mandir)/man8/*.8 + cd $(DESTDIR)$(mandir)/man1 && ln -s ssh.1.gz slogin.1.gz + +cygwin-postinstall: move-config-files remove-empty-dir install-inetd-config install-doc install-scripts install-copy-id gzip-man-pages @echo "Cygwin specific configuration finished." |