Displaying 1 result from an estimated 1 matches for "d81941f80f4f".
2015 Jan 26
1
[PATCH v2] Makefile: add support for git svn clones
...sed -n -e '/^Revision/p' -e '/^Last Changed Date/'p \
| cut -d' ' -f1,2,3,4 > SVN-REVISION-tmp ; \
if test "`cat SVN-REVISION-tmp`" = "Revision: -99"; then \
diff --git a/src/include/Makefile.win b/src/include/Makefile.win
index 28361ef9cfa3..d81941f80f4f 100644
--- a/src/include/Makefile.win
+++ b/src/include/Makefile.win
@@ -2,6 +2,9 @@
include ../gnuwin32/MkRules
R_HOME = ../..
+GIT := `if [ -d "$(top_builddir)/.git" ]; then \
+ echo "git"; fi`
+
VER = $(shell sed -e 's/\([^ ]*\).*/\1/' ../../VERSION)
## keep t...