feed the right git revision used to build fluxbox into defaults.hh

This commit is contained in:
Mathias Gumz 2008-02-24 22:22:13 +01:00
parent 46fdf4d1b4
commit 60a44e573e

View file

@ -59,7 +59,7 @@ defaults.cc: force
echo '}'; \
echo ''; \
echo 'const char* svnversion(void) {'; \
echo ' return "'`cat ../.git/refs/heads/master`'";';\
echo ' return "'`cat ../.git/$$(cat ../.git/HEAD | cut -f 2 -d ' ')`'";';\
echo '}' ) > defaults_tmp.cc
@if ! cmp defaults_tmp.cc defaults.cc ; then cp defaults_tmp.cc defaults.cc; fi
@rm defaults_tmp.cc