mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
Makefile: use -modded instead of -with-local-modifications
Since we include the tail of the version in the default aliasname with DEVELOPER, we want to see more of it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
3bbc708ccc
commit
e44f951b6c
2
Makefile
2
Makefile
@@ -294,7 +294,7 @@ ccan/config.h: ccan/tools/configurator/configurator Makefile
|
||||
if $< --configurator-cc="$(CONFIGURATOR_CC)" $(CC) $(CFLAGS) > $@.new; then mv $@.new $@; else rm $@.new; exit 1; fi
|
||||
|
||||
gen_version.h: FORCE
|
||||
@(echo "#define VERSION \"`git describe --always --dirty=-with-local-modifications`\"" && echo "#define BUILD_FEATURES \"$(FEATURES)\"") > $@.new
|
||||
@(echo "#define VERSION \"`git describe --always --dirty=-modded`\"" && echo "#define BUILD_FEATURES \"$(FEATURES)\"") > $@.new
|
||||
@if cmp $@.new $@ >/dev/null 2>&2; then rm -f $@.new; else mv $@.new $@; echo Version updated; fi
|
||||
|
||||
# All binaries require the external libs, ccan
|
||||
|
||||
Reference in New Issue
Block a user