shake: "guidepages" also needs to build pandoc filters
This commit is contained in:
		
							parent
							
								
									2fd40b3716
								
							
						
					
					
						commit
						a078936c86
					
				
							
								
								
									
										2
									
								
								Shake.hs
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Shake.hs
									
									
									
									
									
								
							| @ -319,7 +319,7 @@ main = do | |||||||
|     phony "guideall" $ need [ guideall ] |     phony "guideall" $ need [ guideall ] | ||||||
| 
 | 
 | ||||||
|     guideall %> \out -> do |     guideall %> \out -> do | ||||||
|       need guidepages  -- XXX seems not to work, not rebuilt when a recipe changes  |       need $ guidepages ++ pandocFilters  -- XXX seems not to work, not rebuilt when a recipe changes  | ||||||
|       liftIO $ writeFile guideall "* toc\n\n"  -- # User Guide\n\n -- TOC style is better without main heading,  |       liftIO $ writeFile guideall "* toc\n\n"  -- # User Guide\n\n -- TOC style is better without main heading,  | ||||||
|       forM_ guidepages $ \f -> do -- site/csv-import.md, site/account-aliases.md, ... |       forM_ guidepages $ \f -> do -- site/csv-import.md, site/account-aliases.md, ... | ||||||
|         cmd Shell ("printf '\\n\\n' >>") guideall :: Action ExitCode |         cmd Shell ("printf '\\n\\n' >>") guideall :: Action ExitCode | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user