Difference between revisions of "Relocate"

From Apache OpenOffice Wiki
Jump to: navigation, search
 
 
Line 10: Line 10:
 
solenv/bin/relocate ~/playground/src680-m112
 
solenv/bin/relocate ~/playground/src680-m112
 
</pre>
 
</pre>
 +
[[Category:Build System]]

Latest revision as of 22:08, 20 March 2010

relocate

Many paths inside OO.o are absolute and not relative; thus when you move the source tree elsewhere, it is necessary to re-write those paths.

The most obvious place is the LinuxIntelEnv.Set* files - however, various other files need to be touched too such as the dependency files. To automate this process after a move run solenv/bin/relocate - this requires no special environment and only the new src root (from which it detects the old path). eg.

	mv build/src680-m112 ~/playground
	cd ~/playground/src680-m112
	solenv/bin/relocate ~/playground/src680-m112
Personal tools