~ubuntu-branches/ubuntu/feisty/wnn7egg/feisty

« back to all changes in this revision

Viewing changes to debian/emacsen-install

  • Committer: Bazaar Package Importer
  • Author(s): ISHIKAWA Mutsumi
  • Date: 2004-09-22 17:39:30 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040922173930-pna2yuvlq63wxgc9
Tags: 1.02-5
update dolist macro confliction fix, thanks TSUCHIYA Masatoshi.
realy closes: #270839

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
EL_ONLY="eggrc-wnn7 wnn7egg-edep.el its-v309"
20
20
SRCS="wnn7egg-cnv.el wnn7egg-leim.el wnn7egg-jsymbol.el wnn7egg-lib.el wnn7egg.el"
21
21
EMACS_SRCS="wnn7egg-com.el wnn7egg-rpc.el"
22
 
XEMACS_SRCS="wnn7egg-comx21.el wnn7egg-rpcx21.el"
 
22
XEMACS_SRCS="wnn7egg-comx21.el wnn7egg-comx214.el wnn7egg-rpcx21.el"
23
23
 
24
24
FLAVORTEST=`echo $FLAVOR | cut -c-6`
25
25
if [ ${FLAVORTEST} = xemacs ] ; then
26
26
    SITEFLAG="-no-site-file"
27
27
    FILES="${SRCS} ${XEMACS_SRCS}"
 
28
    XEMACS=`ls /usr/bin/xemacs*21*-mule* 2> /dev/null | head -1`
 
29
    if [ -z ${XEMACS} ]; then exit 0; fi
 
30
    COMPILE_EMACS=${XEMACS}
28
31
else
29
32
    SITEFLAG="--no-site-file"
30
33
    FILES="${SRCS} ${EMACS_SRCS}"
 
34
    COMPILE_EMACS=${FLAVOR} 
31
35
fi
32
36
FLAGS="${SITEFLAG} -q -batch -l path.el -l ./wnn7egg-lib.el -f batch-byte-compile"
33
37
 
51
55
    echo '(setq load-path (cons "." load-path) byte-compile-warnings nil)'> path.el
52
56
    echo "(if (featurep 'xemacs)(or (featurep 'mule) (kill-emacs)))" >> path.el
53
57
 
54
 
    ${FLAVOR} ${FLAGS} ${FILES} > CompilationLog 2>&1
 
58
    ${COMPILE_EMACS} ${FLAGS} ${FILES} > CompilationLog 2>&1
55
59
    rm -f ${FILES} path.el)
56
60
 
57
61
    if [ ! -d ${STARTDIR} ]; then