make plugin fails to include a Makefile via a relative path from another Makefile
Metadata
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.