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

schema/Makefile: Add .PHONY declarations for phony targets #778

Merged
merged 1 commit into from
Apr 26, 2017

Conversation

wking
Copy link
Contributor

@wking wking commented Apr 24, 2017

The only non-phony target (where the target name matches the output file) is validate, but we need .PHONY there because the Go dependencies are not represented in the Makefile. This commit adds the missing .PHONY declarations to the other targets, which truly are phony.

Spun off from this discussion and following the example set by the clean entry in the main Makefile.

The only non-phony target (where the target name matches the output
file) is 'validate', but we need .PHONY there because the Go
dependencies are not represented in the Makefile.  This commit adds
the missing .PHONY declarations to the other targets, which truly are
phony.

Signed-off-by: W. Trevor King <wking@tremily.us>
@TomSweeneyRedHat
Copy link

LGTM

@hqhq
Copy link
Contributor

hqhq commented Apr 26, 2017

LGTM

I would prefer them in one line though.

Approved with PullApprove

@dqminh
Copy link
Contributor

dqminh commented Apr 26, 2017

LGTM

I would prefer them in one line though.

I have the exact opposite preference 😝 I prefer PHONY to be attached to their targets.

Approved with PullApprove

@mrunalp
Copy link
Contributor

mrunalp commented Apr 26, 2017

LGTM

Approved with PullApprove

@mrunalp mrunalp merged commit cb90a82 into opencontainers:master Apr 26, 2017
@wking wking deleted the schema-makefile-phony branch April 26, 2017 16:08
@vbatts vbatts mentioned this pull request Jul 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants