Don't use pax for installing header files. Use the install program instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20213 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2005-02-16 15:54:03 +00:00
parent 170b217b10
commit 2edabc00dc

View File

@ -1463,14 +1463,16 @@ install-local::
$(Verb) $(MKDIR) $(PROJ_includedir) $(Verb) $(MKDIR) $(PROJ_includedir)
$(Verb) if [ -d "$(PROJ_SRC_ROOT)/include" ] ; then \ $(Verb) if [ -d "$(PROJ_SRC_ROOT)/include" ] ; then \
cd $(PROJ_SRC_ROOT)/include && \ cd $(PROJ_SRC_ROOT)/include && \
find . -path '*/Internal' -prune -o '(' -type f \ for hdr in `find . -type f '!' '(' -name '*~' -o -name '.cvsignore' \
'!' '(' -name '*~' -o -name '.cvsignore' -o -name '.#*' -o -name '*.in' ')' \ -o -name '.#*' -o -name '*.in' ')' -print | grep -v CVS ` ; do \
-print ')' | grep -v CVS | pax -rwdvpe $(PROJ_includedir) ; \ $(INSTALL) $$hdr $(PROJ_includedir) ; \
done ; \
fi fi
$(Verb) if [ -d "$(PROJ_OBJ_ROOT)/include" ] ; then \ $(Verb) if [ -d "$(PROJ_OBJ_ROOT)/include" ] ; then \
cd $(PROJ_OBJ_ROOT)/include && ( cd $(PROJ_SRC_ROOT)/include && \ cd $(PROJ_OBJ_ROOT)/include && \
find . -path '*/Internal' -prune -o '(' -type f -name '*.in' -print ')' ) \ for hdr in `find . -type f -print` ; do \
| sed 's#.in$$##' | pax -rwdvpe $(PROJ_includedir) ; \ $(INSTALL) $$hdr $(PROJ_includedir) ; \
done ; \
fi fi
uninstall-local:: uninstall-local::