summaryrefslogtreecommitdiff
path: root/desktop/CustomTarget_soffice.mk
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2012-09-07 20:11:41 +0200
committerRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2012-09-07 20:13:51 +0200
commitdae66b7b1df89d824017c7afb52f66ebfd2b8fe2 (patch)
tree3a484a461a740db96d56ad09a69363f0e1cae74a /desktop/CustomTarget_soffice.mk
parent4d408cc2f09fcc645d0da736b74f2f5cae86edc4 (diff)
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.mk6
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: