From 4f840ed7e0dd2bf43d22054352e0d68b9d4df8c7 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 25 May 2004 20:01:25 +0000 Subject: [PATCH] Change the install-includes target to completely ignore the llvm/Internal directory. Headers located there are not public to LLVM but are shared between LLVM modules. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13769 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a9a59de8c1a..ddc782380e8 100644 --- a/Makefile +++ b/Makefile @@ -33,9 +33,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 + cd include && find * -path '*/Internal' -prune -o '(' '!' '(' -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 + cd $(BUILD_SRC_ROOT)/include && find * -path '*/Internal' -prune -o '(' '!' '(' -name '*~' -o -name .cvsignore ')' -print ')' | grep -v CVS | pax -rwdvpe $(DESTDIR)$(includedir)/llvm endif install:: install-includes -- 2.34.1