directories relayout (in progress)
git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@1035 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
|
@ -3,16 +3,14 @@
|
||||||
import os, sys, shutil;
|
import os, sys, shutil;
|
||||||
|
|
||||||
project_dir = sys.argv[1]
|
project_dir = sys.argv[1]
|
||||||
platform_dir = project_dir + "/platform/android"
|
raw_res_dir = project_dir + "/res/raw"
|
||||||
raw_res_dir = platform_dir + "/res/raw"
|
drawable_res_dir = project_dir + "/res/drawable"
|
||||||
drawable_res_dir = platform_dir + "/res/drawable"
|
|
||||||
data_dir_common = project_dir + "/data"
|
data_dir_common = project_dir + "/data"
|
||||||
application_icons_dir_common = project_dir + "/icons/application"
|
tree_icons_dir_android = project_dir + "/android_icons/tree"
|
||||||
tree_icons_dir_android = platform_dir + "/icons/tree"
|
menu_icons_dir_android = project_dir + "/android_icons/menu"
|
||||||
menu_icons_dir_android = platform_dir + "/icons/menu"
|
tabs_icons_dir_android = project_dir + "/android_icons/tabs"
|
||||||
tabs_icons_dir_android = platform_dir + "/icons/tabs"
|
text_search_icons_dir_android = project_dir + "/android_icons/text_search"
|
||||||
text_search_icons_dir_android = platform_dir + "/icons/text_search"
|
data_dir_android = project_dir + "/data"
|
||||||
data_dir_android = platform_dir + "/data"
|
|
||||||
|
|
||||||
print os.getcwd()
|
print os.getcwd()
|
||||||
|
|
||||||
|
@ -38,8 +36,7 @@ clean_res_dir(raw_res_dir)
|
||||||
clean_res_dir(drawable_res_dir)
|
clean_res_dir(drawable_res_dir)
|
||||||
process_data_dir("data__", data_dir_common, raw_res_dir)
|
process_data_dir("data__", data_dir_common, raw_res_dir)
|
||||||
process_data_dir("data__", data_dir_android, raw_res_dir)
|
process_data_dir("data__", data_dir_android, raw_res_dir)
|
||||||
#shutil.copyfile(application_icons_dir_common + "/48x48.png", drawable_res_dir + "/fbreader.png")
|
shutil.copyfile(project_dir + "/android_icons/fbreader.png", drawable_res_dir + "/fbreader.png")
|
||||||
shutil.copyfile(platform_dir + "/icons/fbreader.png", drawable_res_dir + "/fbreader.png")
|
|
||||||
process_data_dir("", tree_icons_dir_android, drawable_res_dir, 0)
|
process_data_dir("", tree_icons_dir_android, drawable_res_dir, 0)
|
||||||
process_data_dir("", menu_icons_dir_android, drawable_res_dir, 0)
|
process_data_dir("", menu_icons_dir_android, drawable_res_dir, 0)
|
||||||
process_data_dir("", tabs_icons_dir_android, drawable_res_dir, 0)
|
process_data_dir("", tabs_icons_dir_android, drawable_res_dir, 0)
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 774 B After Width: | Height: | Size: 774 B |
Before Width: | Height: | Size: 947 B After Width: | Height: | Size: 947 B |
Before Width: | Height: | Size: 703 B After Width: | Height: | Size: 703 B |
Before Width: | Height: | Size: 252 B After Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 529 B After Width: | Height: | Size: 529 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |