← Back to issue list

make plugin fails to include a Makefile via a relative path from another Makefile

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1636238
Type
issue
State
open
Author
~ivan-lezhnjov-iv
Labels
plugin
Created
2016-10-24 15:37:24.027702+00:00
Updated
2016-10-25 22:39:31.149236+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Here's another issue I ran into when I tried to build contrib modules shipped with PostgreSQL project: ... Building contrib make -f Makefile -j1 Makefile:5: ../src/Makefile.global: No such file or directory make: *** No rule to make target '../src/Makefile.global'. Stop. Command '['/bin/sh', '/tmp/tmpxgmn5skk', 'make', '-f', 'Makefile', '-j1']' returned non-zero exit status 2 It seems like make plugin fails to include a Makefile that is referenced as a relative path from the main Makefile. Corresponding snapcraft.yaml section looks like this: contrib: plugin: make source: parts/postgresql/src/contrib/ after: - postgresql

Evaluation history

No evaluation history available.