[PATCH v3 1/6] Makefile: stop including "GIT-VERSION-FILE" in docs
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Dec 20, 2024, 19:44 UTC
- Message-ID
- <20241220-b4-pks-git-version-via-environment-v3-1-1fd79b52a5fb@pks.im>
- In-Reply-To
- <20241220-b4-pks-git-version-via-environment-v3-0-1fd79b52a5fb@pks.im>
We include "GIT-VERSION-FILE" in our docs Makefile, but don't actually use the "GIT_VERSION" variable that it provides. This is a leftover from the conversion to make "GIT-VERSION-GEN" generate version information in-place by substituting placeholders in 4838deab65 (Makefile: refactor GIT-VERSION-GEN to be reusable, 2024-12-06) and subsequent commits, where all usages of the variable were removed.
Stop including the file.
Signed-off-by: Patrick Steinhardt <ps@pks.im> --- Documentation/Makefile | 7 ------- 1 file changed, 7 deletions(-)
diff --git a/Documentation/Makefile b/Documentation/Makefile index 3392e1ce7ebc540784912476847380d9c1775ac8..44c9e9369a11a6a5091079b7221a085b2f08e6cd 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -276,13 +276,6 @@ install-pdf: pdf install-html: html '$(SHELL_PATH_SQ)' ./install-webdoc.sh $(DESTDIR)$(htmldir) -../GIT-VERSION-FILE: FORCE - $(QUIET_SUBDIR0)../ $(QUIET_SUBDIR1) GIT-VERSION-FILE - -ifneq ($(filter-out lint-docs clean,$(MAKECMDGOALS)),) --include ../GIT-VERSION-FILE -endif - mergetools_txt = mergetools-diff.txt mergetools-merge.txt #
-- 2.48.0.rc0.184.g0fc57dec57.dirty