Change the install-includes target to completely ignore the llvm/Internal
authorReid Spencer <rspencer@reidspencer.com>
Tue, 25 May 2004 20:01:25 +0000 (20:01 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 25 May 2004 20:01:25 +0000 (20:01 +0000)
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

index a9a59de8c1ab8120c17b953c6d4e62f0209e6528..ddc782380e8dac56fda2c7576510717bc1983f5b 100644 (file)
--- 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