diff --git a/Makefile b/Makefile index e4b9b3e..b94a948 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ CC ?= cc CFLAGS ?= -Wall -O2 -ggdb #OPTFLAGS = -DREVISION=\"$(shell svnversion | awk 'BEGIN { RS=":" } { next } END { print $$1 }')\" -OPTFLAGS = -DREVISION=\"$(shell echo '$Revision: 234$' | sed -e 's/\$Revision: \([0-9]\+\)\$$/\1/')\" +OPTFLAGS = -DREVISION=\"$(shell echo '$$Revision: 234$$' | sed -e 's/\$$Revision: \([0-9]\+\)\$$$$/\1/')\" # Comment on non-gnu systems OPTFLAGS += -DHAVE_GETOPT_LONG