Files
avrdude/src/GNUmakefile.in
Hans Ulrich Niedermann a690c40e5b Add GIT_COMMIT_HASH to autotools AVRDUDE_FULL_VERSION
Add the GIT_COMMIT_HASH to the version message printed by
"avrdude -?" and in the avrdude.conf avrdude_conf_version line.

So the autotools buildsystem now produces the identical
version message as the cmake buildsystem does.
2024-02-20 06:20:47 +01:00

16 lines
462 B
Makefile

# @configure_input@
include Makefile
need_to_rerun := $(shell $(top_srcdir)/build-helpers/versioninfo.sh "$(top_srcdir)" "@VERSIONINFO_STAMPFILE@" | { @VERSIONINFO_READ@; \
if @VERSIONINFO_IS_UNCHANGED@ \
echo "no"; \
fi; } )
ifneq (no,$(need_to_rerun))
$(info Recorded and current version information do not match.)
$(info Re-running autoreconf via bootstrap.)
dummy1 := $(shell $(top_srcdir)/bootstrap)
endif
# vim: syntax=make