extract all unique revisions

r3737 | dcl | 2012-09-18 12:13:53 +1000 (Tue, 18 Sep 2012) | 1 line
This commit is contained in:
Douglas Clowes
2012-09-18 12:13:53 +10:00
parent f90ede5c75
commit 9244cb839c

View File

@@ -93,12 +93,12 @@ ifeq (,$(LIB_HTTP))
$(warning LIB_HTTP not found)
endif
REVISION = $(shell svn info --recursive .. | grep "Revision:" | sort -u | tail -n 1 | cut -d ' ' -f 2)
REVISION = $(shell svn info --recursive .. | grep "Revision:" | sort -u | cut -d ' ' -f 2)
$(shell touch site_ansto.c)
$(info Revision text is "${REVISION}")
#
DEBUGFLAGS = -Wall -Wextra -Wno-unused -Wno-comment -Wno-switch
CFLAGS = -g $(INCFLAGS) $(DEBUGFLAGS) -std=gnu99 -DREVISION='"R${REVISION}"'
CFLAGS = -g $(INCFLAGS) $(DEBUGFLAGS) -std=gnu99 -DREVISION='"${REVISION}"'
SRC = ./../..
SITENAME = _ansto