1 |
# Makefile for leim subdirectory in GNU Emacs. |
# Makefile for leim subdirectory in GNU Emacs. |
2 |
# Copyright (C) 1997,98,1999,2000,2001 Electrotechnical Laboratory, JAPAN. |
# Copyright (C) 1997,98,1999,2000,2001 Electrotechnical Laboratory, JAPAN. |
3 |
# Licensed to the Free Software Foundation. |
# Licensed to the Free Software Foundation. |
4 |
# Copyright (C) 1997,98,1999,2000,01,02,03,2004 |
# Copyright (C) 1997,98,1999,2000,01,02,03,2004,2005 |
5 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
6 |
# Copyright (C) 2001,02,03,2004 |
# Copyright (C) 2001,02,03,2004 |
7 |
# National Institute of Advanced Industrial Science and Technology (AIST) |
# National Institute of Advanced Industrial Science and Technology (AIST) |
37 |
# Where to install LEIM files. |
# Where to install LEIM files. |
38 |
INSTALLDIR=${datadir}/emacs/${version}/leim |
INSTALLDIR=${datadir}/emacs/${version}/leim |
39 |
|
|
40 |
GZIP = @GZIP@ |
GZIP_PROG = @GZIP_PROG@ |
41 |
|
|
42 |
# On Xenix and the IBM RS6000, double-dot gets screwed up. |
# On Xenix and the IBM RS6000, double-dot gets screwed up. |
43 |
dot = . |
dot = . |
241 |
rm -f ${INSTALLDIR}/*.orig ${INSTALLDIR}/*/*.orig ; \ |
rm -f ${INSTALLDIR}/*.orig ${INSTALLDIR}/*/*.orig ; \ |
242 |
else true; fi |
else true; fi |
243 |
-unset CDPATH; \ |
-unset CDPATH; \ |
244 |
if [ -n "${GZIP}" ]; \ |
if [ -n "${GZIP_PROG}" ]; \ |
245 |
then \ |
then \ |
246 |
echo "Compressing *.el ..." ; \ |
echo "Compressing *.el ..." ; \ |
247 |
(cd ${INSTALLDIR}; for f in `find . -name "*.elc" -print`; do \ |
(cd ${INSTALLDIR}; for f in `find . -name "*.elc" -print`; do \ |
248 |
${GZIP} -9n `echo $$f|sed 's/.elc$$/.el/'` ; \ |
${GZIP_PROG} -9n `echo $$f|sed 's/.elc$$/.el/'` ; \ |
249 |
done) \ |
done) \ |
250 |
else true; fi |
else true; fi |
251 |
-chmod -R a+r ${INSTALLDIR} |
-chmod -R a+r ${INSTALLDIR} |