input: detect dead devices, always set keynames
[libpicofe.git] / common / revision.mak
1 platform/common/menu.o : revision.h
2
3 revision.h: FORCE
4 ifndef NOREVISION
5         @echo "#define REVISION \"`svn info -r HEAD | grep Revision | cut -c 11-`\"" > /tmp/r.tmp
6 else
7         @echo "#define REVISION \"0\"" > /tmp/r.tmp
8 endif
9         @diff -q $@ /tmp/r.tmp > /dev/null 2>&1 || mv -f /tmp/r.tmp $@
10
11 FORCE:
12