Makefile: trigger re-configure on updated pythondeps
RFC PATCH 1/1 Makefile: trigger re-configure on updated pythondeps
If we add additional deps for meson we need to ensure we trigger a reconfigure to make sure everything is set up.
Signed-off-by Alex Bennée <[email protected]>
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -78,7 +78,7 @@ x := $(shell rm -rf meson-private meson-info meson-logs) endif # 1. ensure config-host.mak is up-to-date -config-host.mak: $(SRC_PATH)/configure $(SRC_PATH)/scripts/meson-buildoptions.sh $(SRC_PATH)/VERSION +config-host.mak: $(SRC_PATH)/configure $(SRC_PATH)/scripts/meson-buildoptions.sh $(SRC_PATH)/pythondeps.toml $(SRC_PATH)/VERSION @echo config-host.mak is out-of-date, running configure @if test -f meson-private/coredata.dat; then \ ./config.status --skip-meson; \
Signature · 1 line
2.39.2
Quoted 13 lines · Alex Bennée
If we add additional deps for meson we need to ensure we trigger a reconfigure to make sure everything is set up.
Signed-off-by Alex Bennée <[email protected]>--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Makefile +0
-0
Makefile x := $(shell rm -rf meson-private meson-info meson-logs) · line 84
Quoted 8 lines
Makefile +1
-1@@ -78,7 +78,7 @@ x := $(shell rm -rf meson-private meson-info meson-logs) endif # 1. ensure config-host.mak is up-to-date -config-host.mak: $(SRC_PATH)/configure $(SRC_PATH)/scripts/meson-buildoptions.sh $(SRC_PATH)/VERSION +config-host.mak: $(SRC_PATH)/configure $(SRC_PATH)/scripts/meson-buildoptions.sh $(SRC_PATH)/pythondeps.toml $(SRC_PATH)/VERSION @echo config-host.mak is out-of-date, running configure @if test -f meson-private/coredata.dat; then \ ./config.status --skip-meson; \
Reviewed-by Richard Henderson <[email protected]>
r~
Quoted 13 lines · Alex Bennée
If we add additional deps for meson we need to ensure we trigger a reconfigure to make sure everything is set up.
Signed-off-by Alex Bennée <[email protected]>--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Makefile +0
-0
Makefile x := $(shell rm -rf meson-private meson-info meson-logs) · line 81
Quoted 5 lines
Makefile +1
-1@@ -78,7 +78,7 @@ x := $(shell rm -rf meson-private meson-info meson-logs) endif # 1. ensure config-host.mak is up-to-date -config-host.mak: $(SRC_PATH)/configure $(SRC_PATH)/scripts/meson-buildoptions.sh $(SRC_PATH)/VERSION +config-host.mak: $(SRC_PATH)/configure $(SRC_PATH)/scripts/meson-buildoptions.sh $(SRC_PATH)/pythondeps.toml $(SRC_PATH)/VERSION
This long line could be split with \, otherwise:
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 3 lines
Makefile +0
-0@echo config-host.mak is out-of-date, running configure @if test -f meson-private/coredata.dat; then \ ./config.status --skip-meson; \