Stop including $(config) in dist

This turned out to be the wrong thing; including `$(config)` in dist prevented
it from being re-built with new build-time variables.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-02-07 15:12:01 -07:00
parent b53d2390d3
commit 66c4e4bb0e

View File

@@ -166,7 +166,7 @@ init:
dist: $(config)
rm -rf .dist/
mkdir -p .dist/$(WAREWULF)-$(VERSION)
(git ls-files; printf "%s\n" $(config)) >.dist/dist-files
git ls-files >.dist/dist-files
tar -c --files-from .dist/dist-files | tar -C .dist/$(WAREWULF)-$(VERSION) -x
test -d vendor/ && cp -a vendor/ .dist/$(WAREWULF)-$(VERSION) || :
scripts/get-version.sh >.dist/$(WAREWULF)-$(VERSION)/VERSION