From: Christian Wiese Date: Wed, 12 Mar 2008 16:19:16 +0000 (+0200) Subject: [BUILD] Removed "/" after '$(DESTDIR)' in install targets X-Git-Tag: v1.3.15~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce8f3428a2f2c70ae1b68c9a512995e17f913a70;p=thirdparty%2Fhaproxy.git [BUILD] Removed "/" after '$(DESTDIR)' in install targets SBINDIR, MANDIR and DOCDIR use an absolute path --- diff --git a/Makefile b/Makefile index 0e8649a775..6beee0bafd 100644 --- a/Makefile +++ b/Makefile @@ -479,18 +479,18 @@ src/dlmalloc.o: $(DLMALLOC_SRC) $(CC) $(COPTS) -DDEFAULT_MMAP_THRESHOLD=$(DLMALLOC_THRES) -c -o $@ $< install-man: - install -d $(DESTDIR)/$(MANDIR)/man1 - install -m 644 doc/haproxy.1 $(DESTDIR)/$(MANDIR)/man1 + install -d $(DESTDIR)$(MANDIR)/man1 + install -m 644 doc/haproxy.1 $(DESTDIR)$(MANDIR)/man1 install-doc: - install -d $(DESTDIR)/$(DOCDIR) + install -d $(DESTDIR)$(DOCDIR) 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 install-bin: all - install -d $(DESTDIR)/$(SBINDIR) - install haproxy $(DESTDIR)/$(SBINDIR) + install -d $(DESTDIR)$(SBINDIR) + install haproxy $(DESTDIR)$(SBINDIR) install: install-doc install-man install-bin