mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-07-18 15:39:19 +03:00
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.
16 lines
462 B
Makefile
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
|