output EET file can now be specified by -o, too. use that mode in build.sh

SVN revision: 13753
This commit is contained in:
tsauerbeck 2005-03-16 17:51:52 +00:00 committed by tsauerbeck
parent 9760bb03f4
commit 768533d73f
2 changed files with 6 additions and 1 deletions

View File

@ -129,6 +129,11 @@ main(int argc, char **argv)
{
defines = evas_list_append(defines, mem_strdup(argv[i]));
}
else if ((!strcmp(argv[i], "-o")) && (i < (argc - 1)))
{
i++;
file_out = argv[i];
}
else if (!file_in)
file_in = argv[i];
else if (!file_out)

View File

@ -263,7 +263,7 @@ output(void)
}
f = fopen(out, "w");
fprintf(f, "#!/bin/sh\n");
fprintf(f, "edje_cc $@ -id . -fd . main_edje_source.edc %s.eet\n", outdir);
fprintf(f, "edje_cc $@ -id . -fd . main_edje_source.edc -o %s.eet\n", outdir);
fclose(f);
#ifndef WIN32