1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

For PR625:

Don't install contents of CVS directories and don't double install when
srcdir == objdir.

llvm-svn: 24998
This commit is contained in:
Reid Spencer 2005-12-23 22:27:56 +00:00
parent d87688fe72
commit f3ce91c4b7

View File

@ -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