subversion >= 1.7.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5349
b7a2c559-68d2-44c3-8de9-
860c34a00d81
# Determine the svn version number if possible
ifneq "$(shell which svnversion 2>/dev/null)" ""
SVNVERSION=$(shell svnversion)
+ifeq "$(SVNVERSION)" "exported"
+SVNVERSION=unknown
+endif
+ifeq "$(SVNVERSION)" "Unversioned directory"
+SVNVERSION=unknown
+endif
else
SVNVERSION=unknown
endif
# Determine the svn version number if possible
ifneq "$(shell which svnversion 2>/dev/null)" ""
-ifneq "$(wildcard .svn)" ""
SVNVERSION=$(shell svnversion)
-else
+ifeq "$(SVNVERSION)" "exported"
+SVNVERSION=unknown
+endif
+ifeq "$(SVNVERSION)" "Unversioned directory"
SVNVERSION=unknown
endif
else