| 
									
										
										
										
											2005-08-16 23:01:50 +00:00
										 |  |  | # Toplevel Aap recipe for Vim spell files | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Usage: | 
					
						
							|  |  |  | # aap        generate all the .spl files | 
					
						
							|  |  |  | # aap diff   create all the diff files | 
					
						
							| 
									
										
										
										
											2005-08-01 07:19:10 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-01-30 00:14:18 +00:00
										 |  |  | # "hu" is at the end, because it takes a very long time. | 
					
						
							| 
									
										
										
										
											2010-05-14 23:24:24 +02:00
										 |  |  | LANG = af am bg br ca cs cy da de el en eo es fr fo ga gd gl he hr id it  | 
					
						
							|  |  |  |        ku la lt lv mg mi ms nb nl nn ny pl pt ro ru rw sk sl sv sw | 
					
						
							| 
									
										
										
										
											2005-09-01 20:46:49 +00:00
										 |  |  |        tet th tl tn uk yi zu hu | 
					
						
							| 
									
										
										
										
											2005-08-16 23:01:50 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # TODO: | 
					
						
							|  |  |  | # Finnish doesn't work, the dictionary fi_FI.zip file contains hyphenation... | 
					
						
							| 
									
										
										
										
											2005-08-01 07:19:10 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | diff: $*LANG/diff | 
					
						
							| 
									
										
										
										
											2005-08-19 20:32:47 +00:00
										 |  |  |         :print Done. | 
					
						
							| 
									
										
										
										
											2005-08-01 07:19:10 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | @for l in string.split(_no.LANG): | 
					
						
							|  |  |  |         :child $l/main.aap | 
					
						
							| 
									
										
										
										
											2005-08-16 23:01:50 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # The existing .spl files need to be generated when the spell file format | 
					
						
							|  |  |  | # changes.  Depending on the Vim executable does that, but results in doing it | 
					
						
							| 
									
										
										
										
											2005-08-19 20:32:47 +00:00
										 |  |  | # much too often.  Generate a dummy .spl file and let the .spl depend on it, so | 
					
						
							|  |  |  | # that they are outdated when it changes. | 
					
						
							| 
									
										
										
										
											2005-08-16 23:01:50 +00:00
										 |  |  | :child check/main.aap | 
					
						
							|  |  |  | *.spl: check/check.latin1.spl |