← Back to issue list

Add support for overriding the Makefile location in makefile part type

View original Github issue

Metadata

Project
snapcraft
Number
#22
Type
issue
State
closed
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Makefile path overrides were implemented in the Make plugin by merged PR #264 (commit ef982f26f).

Resolution: closed resolved

Reason: Commit ef982f26f added support for non-standard Makefile names and was merged through PR #264, resolving the requested override behavior.

Evaluated by: mr-cal-bot

No scores available.

Issue body

For some non-trivial projects, a snapcraft part developer might like to ship a makefile in the source tree of the snap without having to modify an existing source tarball of a 3rd party project. For that use case, the developer could use the optional "makefile" part attribute to override the makefile executed by snapcraft to build that given part. For example: parts: foo: type: makefile makefile: Makefile.foo This would cause snapcraft to run the following command at part build time: make -f Makefile.foo -C parts/foo/build Launchpad Details: [#LP1500759](https://bugs.launchpad.net/bugs/1500759) Zygmunt Krynicki - 2015-09-29 05:54:40 -0300

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Makefile path overrides were implemented in the Make plugin by merged PR #264 (commit ef982f26f).
stealth/space-bunny-alpha — closed stale Makefile-path overrides were never implemented; tracking returned to Launchpad in 2015, where LP#1500759 was also closed unimplemented.
stealth/space-bunny-alpha — closed stale Closed without implementation as issue tracking returned to Launchpad; the proposed makefile part attribute was not added to Snapcraft.
qwen/qwen3.6-35b-a3b — — Closed and abandoned due to migration of issue tracking back to Launchpad. The feature to override the Makefile path in the makefile part type was not implemented.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The request to override the Makefile location was superseded by a migration to Launchpad for bug tracking, leaving the feature unaddressed.
qwen/qwen3.6-35b-a3b — — Closed and abandoned. The maintainer migrated bug tracking back to Launchpad, leaving the feature to override the Makefile location unimplemented.
qwen3.6-35b-a3b-mtp-q6 — — The enhancement to override the Makefile path in snapcraft parts was closed and abandoned. A maintainer noted a migration to Launchpad for bug tracking, superseding the request without implementation.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#1500759 Add support for overriding the Makefile location in makefile part type snapcraft (launchpad) closed Custom Makefile paths were added to the Make plugin in merged PR #264 (commit ef982f26f), resolving upstream issue #22.
94%