diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-01-24 16:54:37 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-24 18:11:32 +0000 |
commit | 19d423ab67346c2542a1acea1f485a7c43e2dd90 (patch) | |
tree | 6b5e173410d32ab5356253a8142c775cf0b4a807 /android/qa/desktop | |
parent | b813ff2971ecdfd18962cec0cdf87d3ea2942a81 (diff) |
android: attempt to create presets/ directory, add 'HOME' too.
Diffstat (limited to 'android/qa/desktop')
-rw-r--r-- | android/qa/desktop/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/android/qa/desktop/Makefile b/android/qa/desktop/Makefile index eae96e0c2a1b..67bc85196978 100644 --- a/android/qa/desktop/Makefile +++ b/android/qa/desktop/Makefile @@ -34,6 +34,7 @@ buildrcs: echo "NativeProgress=1" >> assets/program/lofficerc echo "URE_BOOTSTRAP=file:///assets/program/fundamentalrc" >> assets/program/lofficerc echo "RTL_LOGFILE=file:///dev/log/main" >> assets/program/lofficerc + echo "HOME=$(APP_DATA_PATH)/files" >> assets/program/lofficerc echo "OSL_SOCKET_PATH=$(APP_DATA_PATH)/files" >> assets/program/lofficerc # fundamentalrc ini ... echo "[Bootstrap]" > assets/program/fundamentalrc @@ -177,16 +178,13 @@ copy-stuff: buildrcs cp -R $(OUTDIR)/bin/images_tango.zip assets/share/config/images.zip # .res files cp $(OUTDIR)/bin/*en-US.res assets/program/resource/ -# presets - becomes the users home directory - mkdir -p assets/presets/autocorr - mkdir -p assets/presets/autotext - mkdir -p assets/presets/backup - mkdir -p assets/presets/basic - mkdir -p assets/presets/config - mkdir -p assets/presets/gallery - mkdir -p assets/presets/psprint - mkdir -p assets/presets/template - mkdir -p assets/presets/wordbook +# presets - becomes the users home directory, .stamp forces .zip dir creation + for D in $(strip autocorr autotext backup basic config gallery \ + psprint/driver psprint/fontmetric template \ + uno_packages/cache wordbook); do \ + mkdir -p assets/presets/$$D ; \ + echo "content" > assets/presets/$$D/stamp; \ + done # Then assets that are unpacked at run-time into the app's data directory. mkdir -p assets/unpack/etc/fonts cp fonts.conf assets/unpack/etc/fonts |