]> git.kaiwu.me - haproxy.git/commitdiff
[BUILD] make install should depend on haproxy not "all"
authorWilly Tarreau <w@1wt.eu>
Wed, 11 Jun 2008 22:25:46 +0000 (00:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 11 Jun 2008 22:30:27 +0000 (00:30 +0200)
Reported by Cherife Li : just doing a "make install" fails because it
depends on "all" which is equivalent to "help" if no TARGET was specified.
Make it depend on "haproxy" instead.

Makefile

index a80ade84c816f3f27f05a8a682c621ef3a092f43..abdd345187c177317bbec601f09bb38bb573e4b5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -461,7 +461,7 @@ install-doc:
                install -m 644 doc/$$x.txt $(DESTDIR)$(DOCDIR) ; \
        done
 
-install-bin: all
+install-bin: haproxy
        install -d $(DESTDIR)$(SBINDIR)
        install haproxy $(DESTDIR)$(SBINDIR)