input: in_gp2x refactoring
[libpicofe.git] / common / revision.mak
index 03093e3..2e92875 100644 (file)
@@ -1,7 +1,11 @@
 platform/common/menu.o : revision.h
 
 revision.h: FORCE
+ifndef NOREVISION
        @echo "#define REVISION \"`svn info -r HEAD | grep Revision | cut -c 11-`\"" > /tmp/r.tmp
+else
+       @echo "#define REVISION \"0\"" > /tmp/r.tmp
+endif
        @diff -q $@ /tmp/r.tmp > /dev/null 2>&1 || mv -f /tmp/r.tmp $@
 
 FORCE: