mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 14:09:20 +02:00
* Set REVSTR to empty if 'svnversion -c .' outputs 'exported'
git-svn-id: trunk@34899 -
This commit is contained in:
parent
e1e3ad15f0
commit
a82a134be8
@ -485,7 +485,7 @@ ifneq ($(REVINC),)
|
|||||||
override LOCALOPT+=-dREVINC
|
override LOCALOPT+=-dREVINC
|
||||||
ifeq ($(REVSTR),)
|
ifeq ($(REVSTR),)
|
||||||
ifneq ($(SVNVERSION),)
|
ifneq ($(SVNVERSION),)
|
||||||
REVSTR:=$(subst r,,$(subst r1:,,r$(shell $(SVNVERSION) -c .)))
|
REVSTR:=$(subst r,,$(subst r1:,,r$(subst exported,,$(shell $(SVNVERSION) -c .))))
|
||||||
export REVSTR
|
export REVSTR
|
||||||
else
|
else
|
||||||
ifeq ($(REVINC),force)
|
ifeq ($(REVINC),force)
|
||||||
|
@ -227,7 +227,7 @@ override LOCALOPT+=-dREVINC
|
|||||||
# svnversion executable is available
|
# svnversion executable is available
|
||||||
ifeq ($(REVSTR),)
|
ifeq ($(REVSTR),)
|
||||||
ifneq ($(SVNVERSION),)
|
ifneq ($(SVNVERSION),)
|
||||||
REVSTR:=$(subst r,,$(subst r1:,,r$(shell $(SVNVERSION) -c .)))
|
REVSTR:=$(subst r,,$(subst r1:,,r$(subst exported,,$(shell $(SVNVERSION) -c .))))
|
||||||
export REVSTR
|
export REVSTR
|
||||||
else
|
else
|
||||||
ifeq ($(REVINC),force)
|
ifeq ($(REVINC),force)
|
||||||
|
Loading…
Reference in New Issue
Block a user