Move all target to top of Makefile
The `all` target should be the default for make; but placing it after the `include` directives allowed the targets within the included files to take precedence. Moving `all` before the `include` directives restores it to default status. I also used this opportunity to restore the `build` target as the defining target, and then just set up a dependency between `all` and `build`. Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
7
Makefile
7
Makefile
@@ -1,8 +1,11 @@
|
||||
.PHONY: all
|
||||
all: build
|
||||
|
||||
include Variables.mk
|
||||
include Tools.mk
|
||||
|
||||
.PHONY: all
|
||||
all: wwctl wwclient man_pages wwapid wwapic wwapird etc/defaults.conf etc/bash_completion.d/wwctl
|
||||
.PHONY: build
|
||||
build: wwctl wwclient man_pages wwapid wwapic wwapird etc/defaults.conf etc/bash_completion.d/wwctl
|
||||
|
||||
vendor:
|
||||
ifndef OFFLINE_BUILD
|
||||
|
||||
Reference in New Issue
Block a user