Fix grammar, eliminate double parenthesized sentence fragment.
[oota-llvm.git] / Makefile
index a9a59de8c1ab8120c17b953c6d4e62f0209e6528..a61d7f3dde1bb211f955756c359912caf0b41fc4 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
@@ -45,8 +45,8 @@ install:: install-includes
 
 TAGS: tags
 
-all:: tags
+all::
 
 tags:
-       $(ETAGS) $(ETAGSFLAGS) `find $(wildcard $(SourceDir)/include $(SourceDir)/lib $(SourceDir)/tools) -name '*.cpp' -o -name '*.h'`
+       find $(wildcard $(SourceDir)/include $(SourceDir)/lib $(SourceDir)/tools) -name '*.cpp' -o -name '*.h' | $(ETAGS) $(ETAGSFLAGS) -