assume you have the following Projects
Main Project
PROJECT = main
DEPS = other_lib sub
autopatch-other_lib::
@echo "Autopatching on $(PROJECT)"
Sub Project
PROJECT = sub
DEPS = other_lib
autopatch-other_lib::
@echo "Autopatching on $(PROJECT)"
In the scenario where you are developing main and run deps, the following will happen:
other_lib is downloaded
main's autopatch target will run for other_lib
sub is downloaded
sub's autopatch target will run for other_lib
I feel like this shouldn't really happen; autopatch targets (in my mind) should only run if they are in the main project, not if IS_DEP=1 is defined.
assume you have the following Projects
Main Project
Sub Project
In the scenario where you are developing
mainand rundeps, the following will happen:other_libis downloadedmain's autopatch target will run forother_libsubis downloadedsub's autopatch target will run forother_libI feel like this shouldn't really happen; autopatch targets (in my mind) should only run if they are in the main project, not if
IS_DEP=1is defined.