don't require that hacky last_release tag for PATCHLEVEL, needs more thought
This commit is contained in:
		
							parent
							
								
									9ffd34687a
								
							
						
					
					
						commit
						0140cf62ab
					
				
							
								
								
									
										7
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								Makefile
									
									
									
									
									
								
							| @ -94,9 +94,10 @@ VERSIONFILE=VERSION | |||||||
| # two or three-part version string, whatever's in VERSION
 | # two or three-part version string, whatever's in VERSION
 | ||||||
| VERSION:=$(shell cat $(VERSIONFILE)) | VERSION:=$(shell cat $(VERSIONFILE)) | ||||||
| 
 | 
 | ||||||
| # the number of changes recorded since last tag in this repo
 | # the number of commits since the last tag
 | ||||||
| #PATCHLEVEL:=$(shell expr `git describe --long | awk -F - '{print $$2}' `)
 | PATCHLEVEL:=$(shell expr `git describe --long | awk -F - '{print $$2}' `) | ||||||
| PATCHLEVEL:=$(shell git rev-list last_release..HEAD | wc -l) | # the number of commits since the last_release tag
 | ||||||
|  | #PATCHLEVEL:=$(shell git rev-list last_release..HEAD | wc -l)
 | ||||||
| 
 | 
 | ||||||
| # build flags
 | # build flags
 | ||||||
| WARNINGS:=-W -fwarn-tabs -fno-warn-unused-do-bind -fno-warn-name-shadowing #-fwarn-orphans -fwarn-simple-patterns -fwarn-monomorphism-restriction | WARNINGS:=-W -fwarn-tabs -fno-warn-unused-do-bind -fno-warn-name-shadowing #-fwarn-orphans -fwarn-simple-patterns -fwarn-monomorphism-restriction | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user