aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2008-02-24 21:22:13 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2008-02-24 21:22:13 (GMT)
commit60a44e573ede2a8ca693f101f046c2439aa4b4aa (patch)
tree145ff2a975211c901d31065aad4cb62ee13b06f9 /src
parent46fdf4d1b4043588b057fcc9a03f5f66b6b09354 (diff)
downloadfluxbox-60a44e573ede2a8ca693f101f046c2439aa4b4aa.zip
fluxbox-60a44e573ede2a8ca693f101f046c2439aa4b4aa.tar.bz2
feed the right git revision used to build fluxbox into defaults.hh
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index f41a30a..1d489c1 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 "'`cat ../.git/refs/heads/master`'";';\ 62 echo ' return "'`cat ../.git/$$(cat ../.git/HEAD | cut -f 2 -d ' ')`'";';\
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