aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-05-25 20:01:25 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-05-25 20:01:25 +0000
commit4f840ed7e0dd2bf43d22054352e0d68b9d4df8c7 (patch)
tree69675cf3d1050184b7a46bf2716d4ed3c636adc5 /Makefile
parenta85b8cf110967cf935ce1c92b9f60de541ae51c6 (diff)
downloadexternal_llvm-4f840ed7e0dd2bf43d22054352e0d68b9d4df8c7.zip
external_llvm-4f840ed7e0dd2bf43d22054352e0d68b9d4df8c7.tar.gz
external_llvm-4f840ed7e0dd2bf43d22054352e0d68b9d4df8c7.tar.bz2
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a9a59de..ddc7823 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