Install autosuggestcontrol.js/.css into res like the other files
This commit is contained in:
parent
69a2defed9
commit
6b0f38e51a
2 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ formhistory_prepare_js ()
|
||||||
guint i;
|
guint i;
|
||||||
gchar* file;
|
gchar* file;
|
||||||
|
|
||||||
gchar* data_path = g_build_filename (MDATADIR, PACKAGE_NAME, NULL);
|
gchar* data_path = g_build_filename (MDATADIR, PACKAGE_NAME, "res", NULL);
|
||||||
file = g_build_filename (data_path,"/autosuggestcontrol.js",NULL);
|
file = g_build_filename (data_path,"/autosuggestcontrol.js",NULL);
|
||||||
if (!g_file_test (file, G_FILE_TEST_EXISTS))
|
if (!g_file_test (file, G_FILE_TEST_EXISTS))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
4
wscript
4
wscript
|
@ -453,8 +453,8 @@ def build (bld):
|
||||||
bld.install_files ('${MDATADIR}/' + APPNAME + '/res', 'data/speeddial-head.html')
|
bld.install_files ('${MDATADIR}/' + APPNAME + '/res', 'data/speeddial-head.html')
|
||||||
bld.install_files ('${MDATADIR}/' + APPNAME + '/res', 'data/speeddial.json')
|
bld.install_files ('${MDATADIR}/' + APPNAME + '/res', 'data/speeddial.json')
|
||||||
bld.install_files ('${MDATADIR}/' + APPNAME + '/res', 'data/mootools.js')
|
bld.install_files ('${MDATADIR}/' + APPNAME + '/res', 'data/mootools.js')
|
||||||
bld.install_files ('${MDATADIR}/' + APPNAME, 'data/autosuggestcontrol.js')
|
bld.install_files ('${MDATADIR}/' + APPNAME + '/res', 'data/autosuggestcontrol.js')
|
||||||
bld.install_files ('${MDATADIR}/' + APPNAME, 'data/autosuggestcontrol.css')
|
bld.install_files ('${MDATADIR}/' + APPNAME + '/res', 'data/autosuggestcontrol.css')
|
||||||
|
|
||||||
# FIXME: Determine the library naming for other platforms
|
# FIXME: Determine the library naming for other platforms
|
||||||
if Options.platform == 'linux':
|
if Options.platform == 'linux':
|
||||||
|
|
Loading…
Reference in a new issue