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 cleanup #20

Merged
merged 2 commits into from
May 2, 2019
Merged

Makefile cleanup #20

merged 2 commits into from
May 2, 2019

Conversation

andyz-dev
Copy link
Contributor

This patch set should improve the user experience of first time building. When running "make build" from a freshly cloned repo, I got the following error:

Makefile:71: *** recipe commences before first target. Stop.

The patch set improve the makefile by introduce the install-tools target.

andyz-dev added 2 commits May 1, 2019 16:56
The extra-clean target removes the dependent packages that k3d requires. This makes testing
makefile rules that install those packages easier.

This target helps to expose a bug that the next patch fixes.
ith a fresh checked out k3d tree without required tools installed, Any make command gives the following error message:

    Makefile:71: *** recipe commences before first target.  Stop.

Basically, the section around line 71 are not properly formed makefile rules. This error is hidden when required tools
are installed. The error can be re-exposed with the "make extra-clean" command.

The install-tools target is intended to be invoked when installing the development tree for the fist time.
@iwilltry42 iwilltry42 added the enhancement New feature or request label May 2, 2019
@iwilltry42
Copy link
Member

LGTM, thank you!

@iwilltry42 iwilltry42 merged commit 60c622e into k3d-io:master May 2, 2019
@andyz-dev andyz-dev deleted the makefile-cleanup branch May 2, 2019 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants