comparison Makefile.in @ 916:803c1f0b019b

Fix "make install" dependency so that it works without prior "make"
author Matt Johnston <matt@ucc.asn.au>
date Fri, 07 Mar 2014 21:30:20 +0800
parents 4f1988cb79ce
children 1e496ad473bd
comparison
equal deleted inserted replaced
915:ca46fb43679d 916:803c1f0b019b
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 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
154 if test -e $*.1; then $(INSTALL) -m 644 $*.1 $(DESTDIR)$(mandir)/man1/$*.1; fi 154 if test -e $*.1; then $(INSTALL) -m 644 $*.1 $(DESTDIR)$(mandir)/man1/$*.1; fi
155 155