tools: enable site, site-clean make rules
This commit is contained in:
		
							parent
							
								
									cbda57d6e2
								
							
						
					
					
						commit
						b4f7860f2b
					
				
							
								
								
									
										20
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								Makefile
									
									
									
									
									
								
							| @ -15,6 +15,7 @@ | |||||||
| # - shelltestrunner (latest version from hackage or possibly git), runs functional tests
 | # - shelltestrunner (latest version from hackage or possibly git), runs functional tests
 | ||||||
| # - hasktags, generates tag files for code navigation
 | # - hasktags, generates tag files for code navigation
 | ||||||
| # - profiteur, renders profiles as interactive html
 | # - profiteur, renders profiles as interactive html
 | ||||||
|  | # - hakyll-std, my generic site-building hakyll script
 | ||||||
| #
 | #
 | ||||||
| # Kinds of hledger builds:
 | # Kinds of hledger builds:
 | ||||||
| #
 | #
 | ||||||
| @ -816,19 +817,14 @@ $(call def-help-subsection,DOCUMENTATION:) | |||||||
| # 	\
 | # 	\
 | ||||||
| # 	)
 | # 	)
 | ||||||
| 
 | 
 | ||||||
| # site-build site: \
 | site: \ | ||||||
| # 	$(call def-help,site-build site,\
 | 	$(call def-help,site, generate the hledger.org website with hakyll-std (a generic hakyll script) ) #olddocs | ||||||
| # 	build some additional static bits of the hledger.org website\
 | 	-cd doc/site; hakyll build | ||||||
| # 	Requires hakyll-std, a generic hakyll site builder\
 |  | ||||||
| # 	) #olddocs
 |  | ||||||
| # 	-cd doc/site; hakyll build
 |  | ||||||
| 
 | 
 | ||||||
| # site-clean: \
 | site-clean: \ | ||||||
| # 	$(call def-help,site-clean,\
 | 	$(call def-help,site-clean, remove hakyll-generated files (& take down the website) ) #cleanolddocs | ||||||
| # 	\
 | 	-cd doc/site; hakyll clean | ||||||
| # 	) #cleanolddocs
 | #	rm -rf doc/site/_site/*
 | ||||||
| # 	-cd doc/site; hakyll clean
 |  | ||||||
| # #	rm -rf doc/site/_site/*
 |  | ||||||
| 
 | 
 | ||||||
| # XXX hakyll preview/watch mostly don't live-update any more
 | # XXX hakyll preview/watch mostly don't live-update any more
 | ||||||
| site-preview: \ | site-preview: \ | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user