summaryrefslogtreecommitdiffstats
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
commitd936d812bc578a7e4b08addfd0095afbf194d1fe (patch)
tree97ac6766daae2b5871ab159caf49a28cc0dc701b
parent6244bc7831c0bf534344b55f58dfbf27c0e10384 (diff)
downloadbcm5719-llvm-d936d812bc578a7e4b08addfd0095afbf194d1fe.tar.gz
bcm5719-llvm-d936d812bc578a7e4b08addfd0095afbf194d1fe.zip
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. llvm-svn: 13769
-rw-r--r--llvm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/Makefile b/llvm/Makefile
index a9a59de8c1a..ddc782380e8 100644
--- a/llvm/Makefile
+++ b/llvm/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
OpenPOWER on IntegriCloud