Skip to content
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

Makefile: move cscope.files generation to its own target #10182

Merged
merged 1 commit into from
Feb 13, 2020

Conversation

qmonnet
Copy link
Member

@qmonnet qmonnet commented Feb 13, 2020

Commit 6c66fe9 ("Makefile: Fix duplicates in cscope output") added cscope.files as a dependency to the "tags" target. However, this is the very target supposed to be used to build cscope.files in the first place, so running "make tags" for the first time (when cscope.files is not present) fails.

Let's keep cscope.files as a dependency for "tags", but move the generation of that file to its own target.

Also silence the "ctags" command when creating tags.


This change is Reviewable

Commit 6c66fe9 ("Makefile: Fix duplicates in cscope output") added
cscope.files as a dependency to the "tags" target. However, this is the
very target supposed to be used to build cscope.files in the first
place, so running "make tags" for the first time (when cscope.files is
not present) fails.

Let's keep cscope.files as a dependency for "tags", but move the
generation of that file to its own target.

Also silence the "ctags" command when creating tags.

Fixes: 6c66fe9 ("Makefile: Fix duplicates in cscope output")

Signed-off-by: Quentin Monnet <quentin@isovalent.com>
@qmonnet qmonnet requested a review from a team as a code owner February 13, 2020 18:44
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 44.529% when pulling d5daa3f on cscope.files into 4630078 on master.

@joestringer joestringer added ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact. labels Feb 13, 2020
@joestringer joestringer merged commit 0e5b459 into master Feb 13, 2020
@joestringer joestringer deleted the cscope.files branch February 13, 2020 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants