On Fri, Jul 29, 2016 at 08:48:38PM +0200, Vincent Bernat wrote:
>  ??? 29 juillet 2016 20:40 CEST, Shawn Heisey <[email protected]> :
> 
> >             fi; \
> >     done
> >     install -d "$(DESTDIR)$(SBINDIR)"
> > -   install haproxy $(EXTRA) "$(DESTDIR)$(SBINDIR)"
> > +   install haproxy $(wildcard haproxy-systemd-wrapper) \
> > +      $(EXTRA) "$(DESTDIR)$(SBINDIR)"
> >  
> 
> You can just use the shell for that. That would be less mysterious than
> the use of wildcard make function without a wildcard.
> 
> install haproxy $(EXTRA) "$(DESTDIR)$(SBINDIR)"
> [ ! -x haproxy-systemd-wrapper ] || install haproxy-systemd-wrapper 
> "$(DESTDIR)$(SBINDIR)"

It's not even needed, what is needed in fact is to specify the same
TARGET at install time so that it keeps the same EXTRA value :

     make install TARGET=linux2628

Note that for people doing :

     make TARGET=linux2628 all install

It should work without any issues.

Willy

Reply via email to