[llvm-commits] CVS: llvm/Makefile.rules

Reid Spencer reid at x10sys.com
Wed Feb 16 07:54:14 PST 2005



Changes in directory llvm:

Makefile.rules updated: 1.297 -> 1.298
---
Log message:

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


---
Diffs of the changes:  (+8 -6)

 Makefile.rules |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)


Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.297 llvm/Makefile.rules:1.298
--- llvm/Makefile.rules:1.297	Mon Feb 14 15:54:08 2005
+++ llvm/Makefile.rules	Wed Feb 16 09:54:03 2005
@@ -1463,14 +1463,16 @@
 	$(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::






More information about the llvm-commits mailing list