diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-12-23 22:27:56 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-12-23 22:27:56 +0000 |
commit | 443045a816be7d7fdcf4ff8865e22d718d87a7d6 (patch) | |
tree | 74b68f41a67d668cb8b806883261fac22125f5d7 /Makefile.rules | |
parent | 171049d10f71fdeffdfd9592243d7af40db86c71 (diff) | |
download | llvm-443045a816be7d7fdcf4ff8865e22d718d87a7d6.tar.gz llvm-443045a816be7d7fdcf4ff8865e22d718d87a7d6.tar.bz2 llvm-443045a816be7d7fdcf4ff8865e22d718d87a7d6.tar.xz |
For PR625:
Don't install contents of CVS directories and don't double install when
srcdir == objdir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24998 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules index ccd9fc8f8f..39c741a883 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -1568,12 +1568,14 @@ install-local:: $(DataInstall) $$hdr $(PROJ_includedir)/$$hdr ; \ done ; \ fi +ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT)) $(Verb) if test -d "$(PROJ_OBJ_ROOT)/include" ; then \ cd $(PROJ_OBJ_ROOT)/include && \ - for hdr in `find . -type f -print` ; do \ + for hdr in `find . -type f -print | grep -v CVS` ; do \ $(DataInstall) $$hdr $(PROJ_includedir)/$$hdr ; \ done ; \ fi +endif uninstall-local:: $(Echo) Uninstalling include files |