mirror of https://git.wownero.com/dsc/mxe.git
on "make update" touch only the *.mk files which have a new version
This commit is contained in:
parent
18ec886148
commit
adf00be99f
4
Makefile
4
Makefile
|
@ -87,7 +87,9 @@ clean:
|
||||||
define UPDATE
|
define UPDATE
|
||||||
$(if $(2), \
|
$(if $(2), \
|
||||||
$(info $(1): $(2)) \
|
$(info $(1): $(2)) \
|
||||||
$(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $(2)/' -i src/$(1).mk, \
|
$(if $(filter $(2),$($(1)_VERSION)), \
|
||||||
|
, \
|
||||||
|
$(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $(2)/' -i src/$(1).mk), \
|
||||||
$(error Unable to update version number: $(1)))
|
$(error Unable to update version number: $(1)))
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in New Issue