1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +00:00

Fix SVN version stuff. The old implementation apparently had problems with

subversion >= 1.7.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5349 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2011-12-29 21:18:23 +00:00
parent a37c0427a7
commit af12aa8b2d
2 changed files with 10 additions and 2 deletions

View File

@ -28,6 +28,12 @@ LDFLAGS = -lm
# 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

View File

@ -29,9 +29,11 @@ EXE = cc65.exe
# 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