1.1 --- a/Makefile Sat Feb 27 11:46:20 2010 +1100
1.2 +++ b/Makefile Tue Mar 23 20:47:29 2010 +1100
1.3 @@ -13,7 +13,7 @@
1.4
1.5 CFLAGS=-I/usr/local/include/eina-0 -I/usr/local/include/eina-0/eina
1.6 LDFLAGS=-L/usr/local/lib -ledje -lecore -lecore_evas -lelementary -L /usr/lib -lsqlite3
1.7 -VERSION:=$(shell hg tags | egrep "[0-9]+\.[0-9]+" | head -1 | cut -d" " -f1)
1.8 +VERSION:=$(shell hg log --follow --template "{tags}\n" | grep -v ^$ | grep -v "tip" | head -1)
1.9
1.10 all: $(objects)
1.11 gcc $(LDFLAGS) -o elmessage $(objects)
2.1 --- a/Makefile.openmoko Sat Feb 27 11:46:20 2010 +1100
2.2 +++ b/Makefile.openmoko Tue Mar 23 20:47:29 2010 +1100
2.3 @@ -12,7 +12,7 @@
2.4 # make -f Makefile.openmoko
2.5
2.6 objects=elmessage.o
2.7 -VERSION:=$(shell hg tags | egrep "[0-9]+\.[0-9]+" | head -1 | cut -d" " -f1)
2.8 +VERSION:=$(shell hg log --follow --template "{tags}\n" | grep -v ^$ | grep -v "tip" | head -1)
2.9
2.10 .SUFFIXES: .o .c
2.11