← Back to issue list

Add support for overriding the Makefile location in makefile part type

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1500759
Type
issue
State
closed
Author
~zyga
Labels
—
Created
Updated
Closed

Current evaluation

Custom Makefile paths were added to the Make plugin in merged PR #264 (commit ef982f26f), resolving upstream issue #22.

Resolution: closed resolved

Reason: Merged PR #264 added support for non-standard Makefile names in commit ef982f26f. The request was moved from Launchpad to upstream issue #22, which records #264 as its fix.

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

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Custom Makefile paths were added to the Make plugin in merged PR #264 (commit ef982f26f), resolving upstream issue #22.
stealth/space-bunny-alpha — closed resolved Make plugin now supports a non-standard Makefile via the makefile property; fixed by merged snapcraft#264 (commit ef982f26f, merge 5031c11d9).
stealth/space-bunny-alpha — closed superseded Makefile-path overrides were never implemented; tracking moved to Launchpad in 2015, where LP#1500759 was also closed unimplemented.
qwen/qwen3.6-35b-a3b — — Request to add a custom makefile attribute for the makefile part type was closed without implementation. Zero comments and prolonged inactivity indicate the feature was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The feature request to add a makefile override attribute for snapcraft parts was abandoned due to lack of activity.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#264 (confidence 100%)

    Merged commit ef982f26f implemented Makefile path overrides.

  • Duplicate Of: canonical/snapcraft#22 (confidence 100%)

    The maintainer moved the Launchpad report to this upstream issue.

Related issues

Issue Project State Summary Similarity
#22 Add support for overriding the Makefile location in makefile part type snapcraft closed Makefile path overrides were implemented in the Make plugin by merged PR #264 (commit ef982f26f).
94%
#33 plugins: add make plugin craft-parts merged Merged PR #33 as commit 9a9d7c5c, adding a Make plugin for make-based parts (implementation commit 6e25a220).
71%