View | Details | Raw Unified | Return to bug 193061 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-5 / +6 lines)
Lines 37-47 Link Here
37
# (http://www.alc.co.jp/alcshop/eng/eijiro/)
37
# (http://www.alc.co.jp/alcshop/eng/eijiro/)
38
# Avoid copying uncompressed srcfile, it is > 50Mb
38
# Avoid copying uncompressed srcfile, it is > 50Mb
39
39
40
.if exists(${WRKDIR}/${SRCFILE})
40
.if exists(${DICT_PATH}/${SRCFILE})
41
MAKE_ARGS+=	SRCFILE=${WRKDIR}/${SRCFILE}
42
.else
43
MAKE_ARGS+=	SRCFILE=${DICT_PATH}/${SRCFILE}
41
MAKE_ARGS+=	SRCFILE=${DICT_PATH}/${SRCFILE}
44
.fi
42
.else
43
MAKE_ARGS+=	SRCFILE=${WRKDIR}/${SRCFILE}
44
.endif
45
45
46
OPTIONS_DEFINE=	DOCS
46
OPTIONS_DEFINE=	DOCS
47
47
Lines 50-56 Link Here
50
post-extract:
50
post-extract:
51
	@if [ -f ${DICT_PATH}/eijiro-original/*.exe ]; then \
51
	@if [ -f ${DICT_PATH}/eijiro-original/*.exe ]; then \
52
	  lha xiw=${WRKDIR} ${DICT_PATH}/eijiro-original/*.exe '*/${SRCFILE}'; \
52
	  lha xiw=${WRKDIR} ${DICT_PATH}/eijiro-original/*.exe '*/${SRCFILE}'; \
53
	elif [ ! -f ${DICT_PATH}/${SRCFILE} ]; then \
53
	fi
54
	@if [ ! -f ${DICT_PATH}/${SRCFILE} ]; then \
54
	  ${ECHO} "###################################################"; \
55
	  ${ECHO} "###################################################"; \
55
	  ${ECHO} "I cannot find a file ${DICT_PATH}/${SRCFILE}"; \
56
	  ${ECHO} "I cannot find a file ${DICT_PATH}/${SRCFILE}"; \
56
	  ${ECHO} "Specify the Eijiro Dictionary file with the full path"; \
57
	  ${ECHO} "Specify the Eijiro Dictionary file with the full path"; \

Return to bug 193061