mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-11 09:52:56 -04:00
[BUILD] Removed "/" after '$(DESTDIR)' in install targets
SBINDIR, MANDIR and DOCDIR use an absolute path
This commit is contained in:
parent
33fb4aaca3
commit
514b3f8af1
1 changed files with 6 additions and 6 deletions
12
Makefile
12
Makefile
|
|
@ -452,18 +452,18 @@ 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: all
|
install-bin: all
|
||||||
install -d $(DESTDIR)/$(SBINDIR)
|
install -d $(DESTDIR)$(SBINDIR)
|
||||||
install haproxy $(DESTDIR)/$(SBINDIR)
|
install haproxy $(DESTDIR)$(SBINDIR)
|
||||||
|
|
||||||
install: install-doc install-man install-bin
|
install: install-doc install-man install-bin
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue