mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Make sure the output directory is created before we run asciidoc
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									feb15a5498
								
							
						
					
					
						commit
						9f86468c00
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		|  | @ -517,11 +517,19 @@ if(NOT insource) | ||||||
| 			ln -s ${CMAKE_SOURCE_DIR}/Documentation/images ${CMAKE_BINARY_DIR}/Documentation/images | 			ln -s ${CMAKE_SOURCE_DIR}/Documentation/images ${CMAKE_BINARY_DIR}/Documentation/images | ||||||
| 		) | 		) | ||||||
| 	endif() | 	endif() | ||||||
|  | else() | ||||||
|  | 	if(NOT NO_DOCS) | ||||||
|  | 		add_custom_target( | ||||||
|  | 			documentationLink ALL | ||||||
|  | 		) | ||||||
|  | 	endif() | ||||||
| endif() | endif() | ||||||
| if(NOT NO_DOCS) | if(NOT NO_DOCS) | ||||||
| 	add_custom_target( | 	add_custom_target( | ||||||
| 		documentation ALL | 		documentation ALL | ||||||
|  | 		COMMAND | ||||||
| 		make -C ${CMAKE_SOURCE_DIR}/Documentation OUT=${CMAKE_BINARY_DIR}/Documentation/ doc | 		make -C ${CMAKE_SOURCE_DIR}/Documentation OUT=${CMAKE_BINARY_DIR}/Documentation/ doc | ||||||
|  | 		DEPENDS documentationLink | ||||||
| 	) | 	) | ||||||
| endif() | endif() | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue