cabal: fix version updating
This commit is contained in:
		
							parent
							
								
									f0f127ef38
								
							
						
					
					
						commit
						db6d34bd50
					
				
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@ -169,7 +169,7 @@ endif
 | 
				
			|||||||
VERSIONFILES=hledger.cabal Version.hs
 | 
					VERSIONFILES=hledger.cabal Version.hs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
hledger.cabal: $(VERSIONFILE)
 | 
					hledger.cabal: $(VERSIONFILE)
 | 
				
			||||||
	perl -p -e "s/(^Version: *) .*/\1 $(VERSION)/" -i $@
 | 
						perl -p -e "s/(^version: *) .*/\1 $(VERSION)/" -i $@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Version.hs: $(VERSIONFILE)
 | 
					Version.hs: $(VERSIONFILE)
 | 
				
			||||||
	perl -p -e "s/(^version *= *)\".*?\"/\1\"$(VERSION3)\"/" -i $@
 | 
						perl -p -e "s/(^version *= *)\".*?\"/\1\"$(VERSION3)\"/" -i $@
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user