simplify PATCHLEVEL assignment
This commit is contained in:
		
							parent
							
								
									52e5003866
								
							
						
					
					
						commit
						91c622ab39
					
				
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @ -95,7 +95,7 @@ VERSIONFILE=VERSION | |||||||
| VERSION:=$(shell cat $(VERSIONFILE)) | VERSION:=$(shell cat $(VERSIONFILE)) | ||||||
| 
 | 
 | ||||||
| # the number of commits since the last tag
 | # the number of commits since the last tag
 | ||||||
| PATCHLEVEL:=$(shell expr `git describe --long | awk -F - '{print $$2}' `) | PATCHLEVEL:=$(shell git describe --long | awk -F - '{print $$2}') | ||||||
| # the number of commits since the last_release tag
 | # the number of commits since the last_release tag
 | ||||||
| #PATCHLEVEL:=$(shell git rev-list last_release..HEAD | wc -l)
 | #PATCHLEVEL:=$(shell git rev-list last_release..HEAD | wc -l)
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user