Skip to content

Commit

Permalink
BUG: Multiple bringup rules for build.py
Browse files Browse the repository at this point in the history
* Do not add the bringup recipy for build.py unless it is filtered-out from sources.
  • Loading branch information
Joppe committed Mar 26, 2024
1 parent c508447 commit 39a0b22
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -406,12 +406,13 @@ $/_SOURCE += $($/*.cpp)
$/*.hpp := $(shell find $/*.hpp \! -type l 2>/dev/null)
$/_SOURCE += $($/*.hpp)
$/*.py := $(shell find $/*.py \! -type l 2>/dev/null)
ifneq (normalize ./,$($/_HOME_NAME) $($/_HOME_DIR))
$/*.py := $(filter-out $/build.py,$($/_SOURCE))
$/_DEPS += $/build/build.py.mk
endif
$/_SOURCE += $($/*.py)
$/*.md := $(shell find $/*.md \! -type l 2>/dev/null)
$/_SOURCE += $($/*.md)
ifneq (normalize ./,$($/_HOME_NAME) $($/_HOME_DIR))
$/_SOURCE := $(filter-out $/build.py,$($/_SOURCE))
endif

# Checkout a common old release of this repo as a subproject in `$($._BASELINE)`
# Prefix `$/_HERE` is from this git project root directory to `./`.
Expand Down Expand Up @@ -503,7 +504,6 @@ TESTED += $($/build/*.tested)
# Prepare for bringup
$/build/*.py.mk := $($/*.py:$/%=$/build/%.mk)
$/_DEPS += $($/build/*.py.mk)
$/_DEPS += $/build/build.py.mk

# Prepare for reporting
$/_LOGIC := $($/_MAKEFILE)
Expand Down

0 comments on commit 39a0b22

Please sign in to comment.