Skip to content

Commit

Permalink
Allow non-Dapper goals to be defined
Browse files Browse the repository at this point in the history
This adds the NON_DAPPER_GOALS variable to the goals which are
excluded from Dapper, which allows external Makefiles to define goals
which don't need to run inside our Dapper environment.

Signed-off-by: Stephen Kitt <[email protected]>
  • Loading branch information
skitt committed Jan 5, 2021
1 parent 96f82b6 commit bc5f97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# Only run command line goals in dapper (except things that have to run outside of dapper).
# Otherwise, make applies this rule to various files and tries to build them in dapper (which doesn't work, obviously).
$(filter-out .dapper images shell,$(MAKECMDGOALS)): .dapper
$(filter-out .dapper images shell $(NON_DAPPER_GOALS),$(MAKECMDGOALS)): .dapper
+./.dapper -m bind make $@ $(MAKEFLAGS)

shell: .dapper
Expand Down

0 comments on commit bc5f97e

Please sign in to comment.