edje_decc works properly with default theme (as long as u rememeber to pass

-DE17_PROFILE=SLOW_PC" so #defines get fixed


SVN revision: 22847
This commit is contained in:
Carsten Haitzler 2006-05-23 03:23:31 +00:00
parent 726d47342f
commit 0f757ee21a
2 changed files with 8 additions and 4 deletions

View File

@ -90,7 +90,7 @@ source_fetch_file(char *fil, char *filname)
int got_hash = 0;
int forgetit = 0;
int haveinclude = 0;
char *file = NULL;
char *file = NULL, *fname = NULL;
while ((!forgetit) && (*p))
{
@ -171,6 +171,9 @@ source_fetch_file(char *fil, char *filname)
else
snprintf(file, l, "%s/%s", dir, p + 1);
fname = strdup(p + 1);
pp = strrchr(fname, end);
if (pp) *pp = 0;
forgetit = 1;
}
}
@ -183,10 +186,11 @@ source_fetch_file(char *fil, char *filname)
got_hash = 0;
}
if (file)
if ((file) && (fname))
{
source_fetch_file(file, file);
source_fetch_file(file, fname);
free(file);
free(fname);
}
}
free (dir);

View File

@ -283,7 +283,7 @@ output(void)
}
f = fopen(out, "w");
fprintf(f, "#!/bin/sh\n");
fprintf(f, "%s $@ --image_dir . --font_dir . %s -o %s.edj\n", edje_file->compiler, sf->name, outdir);
fprintf(f, "%s $@ -id . -fd . %s -o %s.edj\n", edje_file->compiler, sf->name, outdir);
fclose(f);
#ifndef WIN32