summaryrefslogtreecommitdiff
path: root/contrib/cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cygwin')
-rw-r--r--contrib/cygwin/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/contrib/cygwin/Makefile b/contrib/cygwin/Makefile
index 2ebd143dc..9f680c16c 100644
--- a/contrib/cygwin/Makefile
+++ b/contrib/cygwin/Makefile
@@ -1,8 +1,10 @@
1srcdir=../.. 1srcdir=../..
2copyidsrcdir=..
2prefix=/usr 3prefix=/usr
3exec_prefix=$(prefix) 4exec_prefix=$(prefix)
4bindir=$(prefix)/bin 5bindir=$(prefix)/bin
5datadir=$(prefix)/share 6datadir=$(prefix)/share
7mandir=$(datadir)/man
6docdir=$(datadir)/doc 8docdir=$(datadir)/doc
7sshdocdir=$(docdir)/openssh 9sshdocdir=$(docdir)/openssh
8cygdocdir=$(docdir)/Cygwin 10cygdocdir=$(docdir)/Cygwin
@@ -59,5 +61,16 @@ install-scripts: ssh-host-config ssh-user-config
59 $(INSTALL) -m 755 ssh-host-config $(DESTDIR)$(bindir)/ssh-host-config 61 $(INSTALL) -m 755 ssh-host-config $(DESTDIR)$(bindir)/ssh-host-config
60 $(INSTALL) -m 755 ssh-user-config $(DESTDIR)$(bindir)/ssh-user-config 62 $(INSTALL) -m 755 ssh-user-config $(DESTDIR)$(bindir)/ssh-user-config
61 63
62cygwin-postinstall: move-config-files remove-empty-dir install-inetd-config install-doc install-scripts 64install-copy-id: $(copyidsrcdir)/ssh-copy-id $(copyidsrcdir)/ssh-copy-id.1
65 $(INSTALL) -m 755 $(copyidsrcdir)/ssh-copy-id $(DESTDIR)$(bindir)/ssh-copy-id
66 $(INSTALL) -m 644 $(copyidsrcdir)/ssh-copy-id.1 $(DESTDIR)$(mandir)/man1/ssh-copy-id.1
67
68gzip-man-pages:
69 rm $(DESTDIR)$(mandir)/man1/slogin.1
70 gzip $(DESTDIR)$(mandir)/man1/*.1
71 gzip $(DESTDIR)$(mandir)/man5/*.5
72 gzip $(DESTDIR)$(mandir)/man8/*.8
73 cd $(DESTDIR)$(mandir)/man1 && ln -s ssh.1.gz slogin.1.gz
74
75cygwin-postinstall: move-config-files remove-empty-dir install-inetd-config install-doc install-scripts install-copy-id gzip-man-pages
63 @echo "Cygwin specific configuration finished." 76 @echo "Cygwin specific configuration finished."