aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index a1468ba..cc54242 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -59,7 +59,7 @@ defaults.cc: force
59 echo '}'; \ 59 echo '}'; \
60 echo ''; \ 60 echo ''; \
61 echo 'const char* svnversion(void) {'; \ 61 echo 'const char* svnversion(void) {'; \
62 echo ' return "'`(svnversion . | sed "s/[^0-9].*//") 2> /dev/null`'";';\ 62 echo ' return "'`cat ../.git/refs/heads/master`'";';\
63 echo '}' ) > defaults_tmp.cc 63 echo '}' ) > defaults_tmp.cc
64 @if ! cmp defaults_tmp.cc defaults.cc ; then cp defaults_tmp.cc defaults.cc; fi 64 @if ! cmp defaults_tmp.cc defaults.cc ; then cp defaults_tmp.cc defaults.cc; fi
65 @rm defaults_tmp.cc 65 @rm defaults_tmp.cc