humanai / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Makefile auto-dependency writes in a relative path outside the source tree #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1) Run gyp from your homedir with an ~/.gyp/include.gypi.
Makefile gets written with dependency like:

Makefile: chrome/test/interactive_ui/interactive_ui_tests.gypi ... 
../../../.gyp/include.gypi

2) Relocate source tree

3) Try to build -- fails due to relative path no longer working.

This path should be absolute, I guess?

Original issue reported on code.google.com by evan@chromium.org on 30 Oct 2009 at 7:17

GoogleCodeExporter commented 9 years ago
I'll look at it.. if I recall correctly there is some magic to make paths 
relative,
perhaps it should only do so if the path is under the source tree.

Original comment by mattm@chromium.org on 30 Oct 2009 at 7:37

GoogleCodeExporter commented 9 years ago
Was checked in as r747.

Original comment by mattm@chromium.org on 11 Nov 2009 at 11:35

GoogleCodeExporter commented 9 years ago

Original comment by evan@chromium.org on 26 May 2011 at 10:21