Don't use pax for installing header files. Use the install program instead.
authorReid Spencer <rspencer@reidspencer.com>
Wed, 16 Feb 2005 15:54:03 +0000 (15:54 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 16 Feb 2005 15:54:03 +0000 (15:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20213 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

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