recuperation du numero de version depuis le changelog sans la date
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 18 Jun 2006 09:33:06 +0000 (09:33 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 18 Jun 2006 09:33:06 +0000 (09:33 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@325 839d8a87-29fc-0310-9880-83ba4fa771e5

Makefile

index 6227ed5..db61794 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 ################################################################################
 # definitions
 
-VERSION := $(shell grep VERSION ChangeLog | head -1 | sed -e "s/VERSION //;s/\t.*//")
+VERSION := $(shell grep VERSION ChangeLog | head -1 | sed -e "s/VERSION //;s/\t.*//;s/ .*//")
 
 PKG_NAME = platal
 PKG_DIST = $(PKG_NAME)-$(VERSION)