diff options
author | Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> | 2012-09-07 20:11:41 +0200 |
---|---|---|
committer | Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> | 2012-09-07 20:13:51 +0200 |
commit | dae66b7b1df89d824017c7afb52f66ebfd2b8fe2 (patch) | |
tree | 3a484a461a740db96d56ad09a69363f0e1cae74a /desktop/CustomTarget_soffice.mk | |
parent | scp2: Don't deliver oosplash with --enable-headless (diff) | |
download | core-dae66b7b1df89d824017c7afb52f66ebfd2b8fe2.tar.gz core-dae66b7b1df89d824017c7afb52f66ebfd2b8fe2.zip |
desktop: use soffice.bin instead of oosplash if build with --enable-headless
Change-Id: I2e4742a6893267ea8d4ec2048dd0686fd309a7db
Diffstat (limited to 'desktop/CustomTarget_soffice.mk')
-rw-r--r-- | desktop/CustomTarget_soffice.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/CustomTarget_soffice.mk b/desktop/CustomTarget_soffice.mk index 74eb6c9d6e3c..83b84ab49e2f 100644 --- a/desktop/CustomTarget_soffice.mk +++ b/desktop/CustomTarget_soffice.mk @@ -40,4 +40,10 @@ else cp $< $@ endif +ifeq ($(strip $(ENABLE_HEADLESS)),TRUE) + sed -i "s/@SOFFICEBIN@/soffice.bin/" $@ +else + sed -i "s/@SOFFICEBIN@/oosplash/" $@ +endif + # vim:set shiftwidth=4 tabstop=4 noexpandtab: |