forked from OSchip/llvm-project
				
			PR15820: Use tar instead of rsync to install the headers.
llvm-svn: 180132
This commit is contained in:
		
							parent
							
								
									a76bf5a6d0
								
							
						
					
					
						commit
						03fa38aa5b
					
				| 
						 | 
					@ -33,8 +33,8 @@ clean::
 | 
				
			||||||
# The installheaders target is used by clang's runtime/libcxx makefile.
 | 
					# The installheaders target is used by clang's runtime/libcxx makefile.
 | 
				
			||||||
installheaders::
 | 
					installheaders::
 | 
				
			||||||
	mkdir -p $(HEADER_DIR)/c++/v1/ext
 | 
						mkdir -p $(HEADER_DIR)/c++/v1/ext
 | 
				
			||||||
	rsync -r --exclude=".*" --exclude="support" $(SRCDIRS)/include/* \
 | 
						(cd $(SRCDIRS)/include && tar cf - --exclude=support .) | \
 | 
				
			||||||
	  $(HEADER_DIR)/c++/v1/
 | 
						  (cd $(HEADER_DIR)/c++/v1 && tar xf -)
 | 
				
			||||||
	chmod 755 $(HEADER_DIR)/c++/v1
 | 
						chmod 755 $(HEADER_DIR)/c++/v1
 | 
				
			||||||
	chmod 644 $(HEADER_DIR)/c++/v1/*
 | 
						chmod 644 $(HEADER_DIR)/c++/v1/*
 | 
				
			||||||
	chmod 755 $(HEADER_DIR)/c++/v1/ext
 | 
						chmod 755 $(HEADER_DIR)/c++/v1/ext
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue