Skip to content

Commit

Permalink
Merge pull request #168 from casework/BugFix-Issue-167
Browse files Browse the repository at this point in the history
Issue 167: Adjust top Makefile dependency ordering in submodule initialization
  • Loading branch information
plbt5 authored Dec 19, 2024
2 parents 462cd10 + a0a62e9 commit d380b87
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ all: \

# The two CASE-Utility... files are to trigger rebuilds based on command-line interface changes or version increments.
.venv.done.log: \
.git_submodule_init.done.log \
dependencies/UCO/dependencies/CASE-Utility-SHACL-Inheritance-Reviewer/case_shacl_inheritance_reviewer/__init__.py \
dependencies/UCO/dependencies/CASE-Utility-SHACL-Inheritance-Reviewer/setup.cfg \
dependencies/UCO/requirements.txt
Expand Down Expand Up @@ -103,14 +102,26 @@ clean:
@rm -rf \
venv

# This recipe maintains timestamp order.
# The target file creation is handled by recursive initialization done
# in the recipe for .git_submodule_init.done.log.
dependencies/UCO/dependencies/CASE-Utility-SHACL-Inheritance-Reviewer/case_shacl_inheritance_reviewer/__init__.py: \
.git_submodule_init.done.log
$(MAKE) \
--directory dependencies/UCO \
dependencies/CASE-Utility-SHACL-Inheritance-Reviewer/case_shacl_inheritance_reviewer/__init__.py
test -r $@
touch -c $@

# This recipe maintains timestamp order.
# The target file creation is handled by recursive initialization done
# in the recipe for .git_submodule_init.done.log.
dependencies/UCO/dependencies/CASE-Utility-SHACL-Inheritance-Reviewer/setup.cfg: \
.git_submodule_init.done.log
$(MAKE) \
--directory dependencies/UCO \
dependencies/CASE-Utility-SHACL-Inheritance-Reviewer/setup.cfg
test -r $@
touch -c $@

# This recipe maintains timestamp order.
# The target file creation is handled by initialization done in the
# recipe for .git_submodule_init.done.log.
dependencies/UCO/requirements.txt: \
.git_submodule_init.done.log
test -r $@
touch -c $@

0 comments on commit d380b87

Please sign in to comment.