mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-18 19:56:59 +00:00
BUILD: fix "make install" to support spaces in the install dirs
Makefile is unable to install into directories containing spaces.
This commit is contained in:
parent
a6547c1338
commit
3785311e64
14
Makefile
14
Makefile
@ -710,19 +710,19 @@ src/dlmalloc.o: $(DLMALLOC_SRC)
|
|||||||
$(CC) $(COPTS) -DDEFAULT_MMAP_THRESHOLD=$(DLMALLOC_THRES) -c -o $@ $<
|
$(CC) $(COPTS) -DDEFAULT_MMAP_THRESHOLD=$(DLMALLOC_THRES) -c -o $@ $<
|
||||||
|
|
||||||
install-man:
|
install-man:
|
||||||
install -d $(DESTDIR)$(MANDIR)/man1
|
install -d "$(DESTDIR)$(MANDIR)"/man1
|
||||||
install -m 644 doc/haproxy.1 $(DESTDIR)$(MANDIR)/man1
|
install -m 644 doc/haproxy.1 "$(DESTDIR)$(MANDIR)"/man1
|
||||||
|
|
||||||
install-doc:
|
install-doc:
|
||||||
install -d $(DESTDIR)$(DOCDIR)
|
install -d "$(DESTDIR)$(DOCDIR)"
|
||||||
for x in configuration architecture haproxy-en haproxy-fr; do \
|
for x in configuration architecture haproxy-en haproxy-fr; do \
|
||||||
install -m 644 doc/$$x.txt $(DESTDIR)$(DOCDIR) ; \
|
install -m 644 doc/$$x.txt "$(DESTDIR)$(DOCDIR)" ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
install-bin: haproxy haproxy-systemd-wrapper
|
install-bin: haproxy haproxy-systemd-wrapper
|
||||||
install -d $(DESTDIR)$(SBINDIR)
|
install -d "$(DESTDIR)$(SBINDIR)"
|
||||||
install haproxy $(DESTDIR)$(SBINDIR)
|
install haproxy "$(DESTDIR)$(SBINDIR)"
|
||||||
install haproxy-systemd-wrapper $(DESTDIR)$(SBINDIR)
|
install haproxy-systemd-wrapper "$(DESTDIR)$(SBINDIR)"
|
||||||
|
|
||||||
install: install-bin install-man install-doc
|
install: install-bin install-man install-doc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user