From dc1aa9aa8b1436aad0c45054e8d10d3f618c9559 Mon Sep 17 00:00:00 2001 From: Casey Icenhour Date: Wed, 10 Jul 2024 16:37:10 -0600 Subject: [PATCH] Enable applications to append to prebuild Make rule in moose.mk Refs #27066 Refs idaholab/fenix#53 --- framework/moose.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/framework/moose.mk b/framework/moose.mk index 06c27bf1e9a6..a7fcb4145699 100644 --- a/framework/moose.mk +++ b/framework/moose.mk @@ -388,10 +388,11 @@ endif wasp_submodule_status: @if [ x$(wasp_submodule_message) != "x" ]; then printf $(wasp_submodule_message); exit 1; fi -# pre-make for checking current dependency versions and showing useful warnings -# if things like conda packages are out of date. the "-" in "@-" means that -# it is allowed to not exit 0 -prebuild: +# Pre-make for checking current dependency versions and showing useful warnings +# if things like conda packages are out of date. The "-" in "@-" means that +# it is allowed to not exit 0. "::" means that the rule can be appended by +# applications that require prebuild steps. +prebuild:: @-python3 $(FRAMEWORK_DIR)/../scripts/premake.py wasp_submodule_status $(moose_revision_header) $(moose_LIB): | prebuild