]> git.ozlabs.org Git - ccan/commitdiff
Makefile: append git revision to "make scores"
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 8 Jan 2011 08:06:56 +0000 (18:36 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 8 Jan 2011 08:06:56 +0000 (18:36 +1030)
Good for testing ccanlint changes.

Makefile

index de219725ea7301c96743e1e4064bc91eed6965b8..e10c9601a95ce8f56ff7b2c12f9acaaf13c0bf53 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@
 EXCLUDE=wwviaudio ogg_to_pcm jmap jbitset nfs
 
 # Where make scores puts the results
-SCOREDIR=scores/$(shell whoami)/$(shell uname -s)-$(shell uname -m)-$(CC)
+SCOREDIR=scores/$(shell whoami)/$(shell uname -s)-$(shell uname -m)-$(CC)-$(shell git describe --always --dirty)
 
 ALL=$(filter-out $(EXCLUDE), $(REALLY_ALL))