Easier readable version string
authorHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Wed, 10 Nov 2010 12:37:18 +0000 (13:37 +0100)
committerHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Wed, 10 Nov 2010 12:37:18 +0000 (13:37 +0100)
Makefile

index e3bb243..5d9fc40 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -76,7 +76,7 @@ switch:
 src/builddata.c:
        @$(RM) "$@"
        @echo "#include \"defs.h\"" >> "$@" 
-       @echo "const char olsrd_version[] = \"olsr.org -  $(VERS)-git`git log -1 --pretty=%h`-hash`./make/hash_source.sh`\";"  >> "$@"
+       @echo "const char olsrd_version[] = \"olsr.org -  $(VERS)-git_`git log -1 --pretty=%h`-hash_`./make/hash_source.sh`\";"  >> "$@"
        @date +"const char build_date[] = \"%Y-%m-%d %H:%M:%S\";" >> "$@" 
        @echo "const char build_host[] = \"$(shell hostname)\";" >> "$@"