Fix a regression that completely broke make install.

Instead of installing into /usr/local/bin it would install into /usr/localbin


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32522 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-12-13 01:15:18 +00:00
parent 7b06bd532d
commit 7f88ee0c5a

View File

@ -49,14 +49,14 @@ PROJ_SRC_ROOT := $(shell cd $(LLVM_SRC_ROOT); $(PWD))
PROJ_SRC_DIR := $(shell cd $(LLVM_SRC_ROOT)/$(patsubst $(PROJ_OBJ_ROOT)%,%,$(PROJ_OBJ_DIR)); $(PWD))
DESTDIR := @prefix@
PROJ_prefix := $(DESTDIR)
PROJ_bindir := $(DESTDIR)bin
PROJ_libdir := $(DESTDIR)lib
PROJ_datadir := $(DESTDIR)share
PROJ_docsdir := $(DESTDIR)docs/llvm
PROJ_etcdir := $(DESTDIR)etc/llvm
PROJ_includedir := $(DESTDIR)include
PROJ_infodir := $(DESTDIR)info
PROJ_mandir := $(DESTDIR)man
PROJ_bindir := $(DESTDIR)/bin
PROJ_libdir := $(DESTDIR)/lib
PROJ_datadir := $(DESTDIR)/share
PROJ_docsdir := $(DESTDIR)/docs/llvm
PROJ_etcdir := $(DESTDIR)/etc/llvm
PROJ_includedir := $(DESTDIR)/include
PROJ_infodir := $(DESTDIR)/info
PROJ_mandir := $(DESTDIR)/man
PROJ_VERSION := $(LLVMVersion)
else
ifndef PROJ_SRC_ROOT