notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
port to 64bit. Some gcc 4.4 warning fixes
[libpicofe.git]
/
common
/
revision.mak
diff --git
a/common/revision.mak
b/common/revision.mak
index
03093e3
..
2e92875
100644
(file)
--- a/
common/revision.mak
+++ b/
common/revision.mak
@@
-1,7
+1,11
@@
platform/common/menu.o : revision.h
revision.h: FORCE
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
@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:
@diff -q $@ /tmp/r.tmp > /dev/null 2>&1 || mv -f /tmp/r.tmp $@
FORCE: