Find the highest revision in the tree
r3736 | dcl | 2012-09-18 09:55:01 +1000 (Tue, 18 Sep 2012) | 1 line
This commit is contained in:
@@ -93,7 +93,7 @@ ifeq (,$(LIB_HTTP))
|
||||
$(warning LIB_HTTP not found)
|
||||
endif
|
||||
|
||||
REVISION = $(shell svn info | grep "Revision:" | cut -d ' ' -f 2)
|
||||
REVISION = $(shell svn info --recursive .. | grep "Revision:" | sort -u | tail -n 1 | cut -d ' ' -f 2)
|
||||
$(shell touch site_ansto.c)
|
||||
$(info Revision text is "${REVISION}")
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user