mirror of
https://github.com/cc65/cc65.git
synced 2024-12-31 11:32:00 +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:
parent
a37c0427a7
commit
af12aa8b2d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user