forked from OSchip/llvm-project
Should fix pr220 - "make install" doesn't install header files when
BUILD_SRC_ROOT != BUILD_OBJ_ROOT llvm-svn: 11253
This commit is contained in:
parent
7f7a842bd6
commit
c6d8be1137
|
@ -34,6 +34,9 @@ tools-only: all
|
|||
install-includes:
|
||||
$(MKDIR) $(DESTDIR)$(includedir)/llvm
|
||||
cd include && find * '!' '(' -name '*~' -o -name .cvsignore ')' -print | grep -v CVS | pax -rwdvpe $(DESTDIR)$(includedir)/llvm
|
||||
ifneq ($(BUILD_SRC_ROOT),$(BUILD_OBJ_ROOT))
|
||||
cd $(BUILD_SRC_ROOT)/include && find * '!' '(' -name '*~' -o -name .cvsignore ')' -print | grep -v CVS | pax -rwdvpe $(DESTDIR)$(includedir)/llvm
|
||||
endif
|
||||
|
||||
install:: install-includes
|
||||
|
||||
|
|
Loading…
Reference in New Issue