diff --git a/site_ansto/Makefile b/site_ansto/Makefile index 816c829e..123eba18 100644 --- a/site_ansto/Makefile +++ b/site_ansto/Makefile @@ -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}") #