Skip to content

Commit 4006902

Browse files
obnoxxxmergify[bot]
authored andcommitted
Makefile: improve organisation of the clean rule
Signed-off-by: Michael Adam <[email protected]>
1 parent 58f9eb2 commit 4006902

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,10 @@ check-gitlint: $(filter $(ALT_BIN)%,$(GITLINT))
292292

293293
### Misc. Rules ###
294294

295-
clean:
295+
clean: clean-buildfiles clean-altbin
296+
clean-buildfiles:
296297
$(RM) $(BUILDFILE_PREFIX)*
297-
.PHONY: clean
298+
.PHONY: clean clean-buildfiles
298299

299300
# _img_build is an "internal" rule to make the building of samba-container
300301
# images regular and more "self documenting". A makefile.foo that includes

0 commit comments

Comments
 (0)