2008-02-05 21:08:29 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								FILES_INSTALL_DIR="${SHAREDIR}/@NAME@" # @TODO@
							 | 
						
					
						
							
								
									
										
										
										
											2006-07-30 13:13:46 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# create destination directories
							 | 
						
					
						
							
								
									
										
										
										
											2008-01-22 22:38:51 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								echo "Installing files into ${FILES_INSTALL_DIR}"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								build_dir_tree "${FILES_INSTALL_DIR}" || return 1
							 | 
						
					
						
							
								
									
										
										
										
											2006-07-30 13:13:46 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2007-02-05 12:54:48 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# copy across the files (note this copies everything with mode 0644).
							 | 
						
					
						
							
								
									
										
										
										
											2006-07-30 13:13:46 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								for file in src/@NAME@/*
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								do
							 | 
						
					
						
							
								
									
										
										
										
											2006-12-15 10:33:26 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    [ "$(echo $(basename ${file}) | cut -b1-6)" == "build." ] && continue
							 | 
						
					
						
							
								
									
										
										
										
											2008-01-22 22:38:51 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    install_file ${file} ${FILES_INSTALL_DIR} 0644 || return 1
							 | 
						
					
						
							
								
									
										
										
										
											2006-07-30 13:13:46 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								done
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								print_success "Files installed"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# kate: @KATE_MODELINE@
							 | 
						
					
						
							
								
									
										
										
										
											2007-08-08 13:03:18 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# vim: syntax=sh:@VIM_MODELINE@
							 |