[common] Only figure out _THEOS_RELATIVE_MAKE_PATH if THEOS isn't already set.

From: Dustin L. Howett <dustin@howett.net>

git-svn-id: http://svn.howett.net/svn/theos/trunk@510 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
[common] Override THEOS_SCHEMA and _THEOS_CLEANED_SCHEMA_SET in case somebody is using Theos in a reentrant manner and trying to change the schemata in use.

From: Dustin L. Howett <dustin@howett.net>

git-svn-id: http://svn.howett.net/svn/theos/trunk@511 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
[makefiles] Use target-specific make variables for aggregate subproject passthrough rules, and remove the stupid 'stage => internal-stage' thunk by passing internal-stage properly through aggregate.

Slight bug: Instead of saying "Running post-install rules in xxx..." it
now says "Making after-install in xxx..." ;P

From: Dustin L. Howett <dustin@howett.net>

git-svn-id: http://svn.howett.net/svn/theos/trunk@512 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
[package] Remove the _THEOS_TOP_INVOCATION_DONE wrappers from package.mk. They are no longer necessary.

From: Dustin L. Howett <dustin@howett.net>

git-svn-id: http://svn.howett.net/svn/theos/trunk@513 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
[common] Do not gate _THEOS_CAN_PACKAGE's calculation on _THEOS_TOP_INVOCATION_DONE, but on its own existence. Export it and its friends so they don't need to be recalculated.

From: Dustin L. Howett <dustin@howett.net>

git-svn-id: http://svn.howett.net/svn/theos/trunk@514 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
[stage] Revert part of '2ed473e99aa8d5ad57d075281173816403118bef', which broke instance subproject staging. We need stage to be gated on _THEOS_TOP_INVOCATION_DONE.

From: Dustin L. Howett <dustin@howett.net>

git-svn-id: http://svn.howett.net/svn/theos/trunk@515 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
[common] Run all of the targets through a perl script that coalesces them into a single target. This allows you to override only portions of an already-set target. target > TARGET > platform default target. As an example, TARGET=iphone:5.0:3.0 and target=iphone:2.0 will result in an effective target of iphone:2.0:3.0.

From: Dustin L. Howett <dustin@howett.net>

git-svn-id: http://svn.howett.net/svn/theos/trunk@516 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
[makefiles] Add support for non-flat bundles, and having Info.plist outside of Resources/ in a hierarchial bundle. Theos can now build OS X bundles!

From: Dustin L. Howett <dustin@howett.net>

git-svn-id: http://svn.howett.net/svn/theos/trunk@517 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
[application] Link UIKit and CoreGraphics in the iphone/application template, and only automatically link UIKit (with a deprecation warning!) if neither AppKit nor UIKit are specified for linkage.

From: Dustin L. Howett <dustin@howett.net>

git-svn-id: http://svn.howett.net/svn/theos/trunk@518 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
[logos] Don't throw an 'uninitialized value' warning on totally-blank files.

From: Dustin L. Howett <dustin@howett.net>

git-svn-id: http://svn.howett.net/svn/theos/trunk@519 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
Merge remote-tracking branch 'DHowett/master'
[logos] Properly generate custom arguments in internal generator