chiark / gitweb /
use "git describe" not "git-describe"
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Mar 2014 14:36:59 +0000 (14:36 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Mar 2014 14:36:59 +0000 (14:36 +0000)
Makefile

index f86d6ae8f1f2885f2bc8ecc53ab38cdaabab766f..139319be8531e42c7d00b89191429f648a15bbf7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 CFLAGS += -Wall -Wwrite-strings -Wstrict-prototypes -g -O2 -std=gnu99
 CFLAGS += $(CMDLINE_CFLAGS)
 CFLAGS += -Wall -Wwrite-strings -Wstrict-prototypes -g -O2 -std=gnu99
 CFLAGS += $(CMDLINE_CFLAGS)
-CPPFLAGS += -DVERSION="\"`git-describe --tags --dirty=+`\""
+CPPFLAGS += -DVERSION="\"`git describe --tags --dirty=+`\""
 LC_CTYPE=C
 LDLIBS = -lpub -lglpk -lm
 
 LC_CTYPE=C
 LDLIBS = -lpub -lglpk -lm