diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2008-02-24 21:22:13 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2008-02-24 21:22:13 (GMT) |
commit | 60a44e573ede2a8ca693f101f046c2439aa4b4aa (patch) | |
tree | 145ff2a975211c901d31065aad4cb62ee13b06f9 /src/Makefile.am | |
parent | 46fdf4d1b4043588b057fcc9a03f5f66b6b09354 (diff) | |
download | fluxbox-60a44e573ede2a8ca693f101f046c2439aa4b4aa.zip fluxbox-60a44e573ede2a8ca693f101f046c2439aa4b4aa.tar.bz2 |
feed the right git revision used to build fluxbox into defaults.hh
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 2 |
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 |