comparison Makefile.in @ 993:1e496ad473bd

Fix installing dropbear.8 error when building in a separate directory. (fix pull request #6)
author Like Ma <likemartinma@gmail.com>
date Fri, 23 Jan 2015 22:59:30 +0800
parents 803c1f0b019b
children 0da8ba489c23 7c899f24a85b
comparison
equal deleted inserted replaced
992:731f624af902 993:1e496ad473bd
129 insmultidropbear: dropbearmulti 129 insmultidropbear: dropbearmulti
130 $(INSTALL) -d $(DESTDIR)$(sbindir) 130 $(INSTALL) -d $(DESTDIR)$(sbindir)
131 -rm -f $(DESTDIR)$(sbindir)/dropbear$(EXEEXT) 131 -rm -f $(DESTDIR)$(sbindir)/dropbear$(EXEEXT)
132 -ln -s $(bindir)/dropbearmulti$(EXEEXT) $(DESTDIR)$(sbindir)/dropbear$(EXEEXT) 132 -ln -s $(bindir)/dropbearmulti$(EXEEXT) $(DESTDIR)$(sbindir)/dropbear$(EXEEXT)
133 $(INSTALL) -d $(DESTDIR)$(mandir)/man8 133 $(INSTALL) -d $(DESTDIR)$(mandir)/man8
134 $(INSTALL) -m 644 dropbear.8 $(DESTDIR)$(mandir)/man8/dropbear.8 134 $(INSTALL) -m 644 $(srcdir)/dropbear.8 $(DESTDIR)$(mandir)/man8/dropbear.8
135 135
136 insmulti%: dropbearmulti 136 insmulti%: dropbearmulti
137 $(INSTALL) -d $(DESTDIR)$(bindir) 137 $(INSTALL) -d $(DESTDIR)$(bindir)
138 -rm -f $(DESTDIR)$(bindir)/$*$(EXEEXT) 138 -rm -f $(DESTDIR)$(bindir)/$*$(EXEEXT)
139 -ln -s $(bindir)/dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir)/$*$(EXEEXT) 139 -ln -s $(bindir)/dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir)/$*$(EXEEXT)
143 # dropbear should go in sbin, so it needs a seperate rule 143 # dropbear should go in sbin, so it needs a seperate rule
144 inst_dropbear: dropbear 144 inst_dropbear: dropbear
145 $(INSTALL) -d $(DESTDIR)$(sbindir) 145 $(INSTALL) -d $(DESTDIR)$(sbindir)
146 $(INSTALL) dropbear$(EXEEXT) $(DESTDIR)$(sbindir) 146 $(INSTALL) dropbear$(EXEEXT) $(DESTDIR)$(sbindir)
147 $(INSTALL) -d $(DESTDIR)$(mandir)/man8 147 $(INSTALL) -d $(DESTDIR)$(mandir)/man8
148 $(INSTALL) -m 644 dropbear.8 $(DESTDIR)$(mandir)/man8/dropbear.8 148 $(INSTALL) -m 644 $(srcdir)/dropbear.8 $(DESTDIR)$(mandir)/man8/dropbear.8
149 149
150 inst_%: % 150 inst_%: %
151 $(INSTALL) -d $(DESTDIR)$(bindir) 151 $(INSTALL) -d $(DESTDIR)$(bindir)
152 $(INSTALL) $*$(EXEEXT) $(DESTDIR)$(bindir) 152 $(INSTALL) $*$(EXEEXT) $(DESTDIR)$(bindir)
153 $(INSTALL) -d $(DESTDIR)$(mandir)/man1 153 $(INSTALL) -d $(DESTDIR)$(mandir)/man1