1 diff -Naur full-pack/Makefile full-pack-new/Makefile
2 --- full-pack/Makefile 2006-04-20 18:24:23.000000000 +0300
3 +++ full-pack-new/Makefile 2011-01-12 00:25:06.000000000 +0200
8 -DATA_DIR1:=$(shell kbgoffice --dump-data-dir 2> /dev/null)
9 -DATA_DIR2:=$(shell gbgoffice --dump-data-dir 2> /dev/null)
10 -DATA_DIR3:=$(shell cbgoffice --dump-data-dir 2> /dev/null)
13 -DATA_DIR:=$(if ${DATA_DIR},${DATA_DIR},${DATA_DIR1})
14 -DATA_DIR:=$(if ${DATA_DIR},${DATA_DIR},${DATA_DIR2})
15 -DATA_DIR:=$(if ${DATA_DIR},${DATA_DIR},${DATA_DIR3})
17 DATA_DIR:=$(shell echo ${DATA_DIR} | sed 's/\/$$//')
24 - @if (test -z "${DATA_DIR1}"); then \
25 - if (test -z "${DATA_DIR2}"); then \
26 - if (test -z "${DATA_DIR3}"); then \
27 - echo "Application 'kbgoffice' (or 'gbgoffice', or 'cbgoffice') is not installed."; \
28 - echo "You need to install at least one of them first."; \
29 - echo "For more info visit http://bgoffice.sourceforge.net/"; \
33 - echo "Found cbgoffice."; \
36 - echo "Found gbgoffice."; \
39 - echo "Found kbgoffice."; \
40 + @if (test -z "${DATA_DIR}"); then \
41 + echo "You must set DATA_DIR"; \