allow setting up version when running outside dir
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								20091cf1e9
							
						
					
				
			
			
				commit
				
					
						4d2b576553
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								build
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								build
									
										
									
									
									
								
							| 
						 | 
					@ -27,7 +27,7 @@
 | 
				
			||||||
#set -e
 | 
					#set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
basedir=${0%/*}
 | 
					basedir=${0%/*}
 | 
				
			||||||
version=$(git describe)
 | 
					version=$(cd "$basedir" && git describe)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Manpage and HTML
 | 
					# Manpage and HTML
 | 
				
			||||||
A2XM="a2x -f manpage --no-xmllint -a encoding=UTF-8"
 | 
					A2XM="a2x -f manpage --no-xmllint -a encoding=UTF-8"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue