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:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user