]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/BUILD: replace haproxy-systemd-wrapper with $(EXTRA) in install-bin.
authorJerome Duval <jerome.duval@gmail.com>
Mon, 2 Nov 2015 17:47:43 +0000 (17:47 +0000)
committerWilly Tarreau <w@1wt.eu>
Mon, 2 Nov 2015 19:32:08 +0000 (20:32 +0100)
[wt: this should be backported to 1.6 and 1.5 as well since some platforms
 don't build the systemd-wrapper]

Makefile

index 4f0aa8af705b05bd60e66f27982caa0799ab549c..84b1f78b7e1ed55a726f5a3d67440c3ea9004e12 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -805,10 +805,9 @@ install-doc:
                install -m 644 doc/$$x.txt "$(DESTDIR)$(DOCDIR)" ; \
        done
 
-install-bin: haproxy haproxy-systemd-wrapper
+install-bin: haproxy $(EXTRA)
        install -d "$(DESTDIR)$(SBINDIR)"
-       install haproxy "$(DESTDIR)$(SBINDIR)"
-       install haproxy-systemd-wrapper "$(DESTDIR)$(SBINDIR)"
+       install haproxy $(EXTRA) "$(DESTDIR)$(SBINDIR)"
 
 install: install-bin install-man install-doc