[cfe-dev] small addition to exclude list in include/clang/Makefile

Chris Lattner clattner at apple.com
Thu May 6 14:51:14 PDT 2010


Sure, applied in r103200.  Thanks!

-Chris

On May 6, 2010, at 2:21 PM, Brooks Davis wrote:

> In the FreeBSD port's version of clang we're patching in support
> for our non-standard printf format extensions like we do with
> gcc.  This creates .orig files one of which the install target in
> tools/clang/include/clang/Makefile installs.  I patched around it by
> adding *.orig to the list of excluded files.  Would you accept the
> following patch to the mainline?  The list of exclusions is already
> fairly long and specific to user preferences so another probably won't
> hurt.
> 
> Thanks,
> Brooks
> 
> --- tools/clang/include/clang/Makefile.orig
> +++ tools/clang/include/clang/Makefile
> @@ -10,7 +10,7 @@
> 	  cd $(PROJ_SRC_ROOT)/tools/clang/include && \
> 	  for  hdr in `find clang -type f '!' '(' -name '*~' \
> 	      -o -name '.#*' -o -name '*.in' -o -name '*.txt' \
> -	      -o -name 'Makefile' -o -name '*.td' ')' -print \
> +	      -o -name 'Makefile' -o -name '*.td' -o -name '*.orig' ')' -print \
>               | grep -v CVS | grep -v .svn | grep -v .dir` ; do \
> 	    instdir=$(DESTDIR)`dirname "$(PROJ_includedir)/$$hdr"` ; \
> 	    if test \! -d "$$instdir" ; then \
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list