Add support for overriding the Makefile location in makefile part type
Bug #1500759 reported by
Zygmunt Krynicki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Snapcraft | Status tracked in Trunk | |||||
1.x |
Fix Released
|
Medium
|
Kyle Fazzari | |||
Trunk |
Fix Released
|
Medium
|
Kyle Fazzari |
Bug Description
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
Changed in snapcraft: | |
assignee: | nobody → Zygmunt Krynicki (zyga) |
milestone: | none → 0.3 |
importance: | Undecided → Medium |
Changed in snapcraft: | |
milestone: | 0.3 → none |
assignee: | Zygmunt Krynicki (zyga) → nobody |
Changed in snapcraft: | |
status: | Invalid → Triaged |
To post a comment you must log in.
Moved to https:/ /github. com/ubuntu- core/snapcraft/ issues/ 22