Skip to content

Commit a8b98a5

Browse files
authored
Merge pull request aburch#11 from jamespetts/master
Get up to date with james
2 parents cadb21a + b5e2541 commit a8b98a5

248 files changed

Lines changed: 3520 additions & 12857 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,15 @@ ifneq ($(MULTI_THREAD),)
151151
endif
152152

153153
ifneq ($(WITH_REVISION),)
154-
REV = $(shell git rev-parse --short HEAD)
155-
ifneq ($(REV),)
156-
CFLAGS += -DREVISION="$(REV)"
154+
ifeq ($(shell expr $(WITH_REVISION) \>= 1), 1)
155+
ifeq ($(shell expr $(WITH_REVISION) \>= 2), 1)
156+
REV = $(WITH_REVISION)
157+
else
158+
REV = $(shell git rev-parse --short=7 HEAD)
159+
endif
160+
ifneq ($(REV),)
161+
CFLAGS += -DREVISION="$(REV)"
162+
endif
157163
endif
158164
endif
159165

@@ -261,6 +267,7 @@ SOURCES += freight_list_sorter.cc
261267
SOURCES += gui/ai_option_t.cc
262268
SOURCES += gui/banner.cc
263269
SOURCES += gui/baum_edit.cc
270+
SOURCES += gui/base_info.cc
264271
SOURCES += gui/citybuilding_edit.cc
265272
SOURCES += gui/citylist_frame_t.cc
266273
SOURCES += gui/citylist_stats_t.cc

0 commit comments

Comments
 (0)