File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,12 @@ install-local::
8
8
$(Verb ) $(MKDIR ) $(DESTDIR )$(PROJ_includedir )
9
9
$(Verb ) if test -d " $( PROJ_SRC_ROOT) /tools/clang/include/clang" ; then \
10
10
cd $(PROJ_SRC_ROOT ) /tools/clang/include && \
11
- for hdr in ` find clang -type f ' !' ' (' -name ' *~' \
12
- -o -name ' .#*' -o -name ' *.in' -o -name ' *.txt' \
13
- -o -name ' Makefile' -o -name ' *.td' -o -name ' *.orig' ' )' -print \
11
+ for hdr in ` find clang -type f \
12
+ ' (' -name LICENSE.TXT \
13
+ -o -name ' *.def' \
14
+ -o -name ' *.h' \
15
+ -o -name ' *.inc' \
16
+ ' )' -print \
14
17
| grep -v CVS | grep -v .svn | grep -v .dir` ; do \
15
18
instdir=$(DESTDIR)`dirname "$(PROJ_includedir)/$$hdr"` ; \
16
19
if test \! -d "$$instdir" ; then \
@@ -23,7 +26,12 @@ install-local::
23
26
ifneq ($(PROJ_SRC_ROOT ) ,$(PROJ_OBJ_ROOT ) )
24
27
$(Verb) if test -d "$(PROJ_OBJ_ROOT)/tools/clang/include/clang" ; then \
25
28
cd $(PROJ_OBJ_ROOT)/tools/clang/include && \
26
- for hdr in `find clang -type f '!' '(' -name 'Makefile' ')' -print \
29
+ for hdr in `find clang -type f \
30
+ '(' -name LICENSE.TXT \
31
+ -o -name '*.def' \
32
+ -o -name '*.h' \
33
+ -o -name '*.inc' \
34
+ ')' -print \
27
35
| grep -v CVS | grep -v .tmp | grep -v .dir` ; do \
28
36
$(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
29
37
done ; \
You can’t perform that action at this time.
0 commit comments