-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup makefiles #2999
Cleanup makefiles #2999
Conversation
ebb32f2
to
8a299fa
Compare
|
||
deps: global-deps bins | ||
|
||
clean: | ||
rm $(BINS) | ||
$(MAKE) -C sharness clean | ||
-rm -rf $(BINS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's -rm
doing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
prefix makes make
ignore return code of rm
command.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay then I think it's not needed -- -f
makes it ignore non-existing files/dirs anyhow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, I should clear it up everywhere.
LGTM apart from one question ^ |
You can squash these:
And if we could drop "deps" as a prerequisite here (it is serious overkill), all 5 options could be squashed into two lines. |
@thomas-gardner that is awesome trick, Thanks, but we can't drop the |
@Kubuxu wanna go ahead and rebase this on master? |
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT Signed-off-by: Jakub Sztandera <[email protected]>
e13bcf8
to
cc60f69
Compare
done |
This can wait for after release but it shouldn't affect the release in any form either.
We might want to limit number of threads on the sharness or make output sequential of sharness because now they run in parallel.