build: Alias "ocarina" to the entire ocarina project

Otherwise it'll build just the ocarina subdirectory, which isn't useful
if I ever have multiple projects using libsaria.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
Bryan Schumaker 2012-06-02 10:47:45 -04:00
parent 80cf0bb28e
commit 3d9f21837e
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ ocarina = env.Program('bin/ocarina-player', directory(["libsaria", "ocarina"]))
oc_link = env.Command("ocarina.bin", "bin/ocarina-player", symlink)
oc_other = app_directory("ocarina", ["scripts", "images"])
Default([ocarina, oc_link, oc_other])
env.Alias("ocarina", [ocarina, oc_link, oc_other])
# Install Ocarina
scripts = os.listdir("scripts/")