comparison leim/Makefile.in @ 104713:bf61a80c87b4

(leim-list.el, install): Don't use -r to remove files.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 29 Aug 2009 19:43:34 +0000
parents bbc4e451e5dc
children 8f9d6010a478
comparison
equal deleted inserted replaced
104712:c4fb8f245750 104713:bf61a80c87b4
206 ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \ 206 ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \
207 -f batch-miscdic-convert -dir quail ${srcdir}/MISC-DIC; \ 207 -f batch-miscdic-convert -dir quail ${srcdir}/MISC-DIC; \
208 echo "changed" > $@ 208 echo "changed" > $@
209 209
210 leim-list.el: ${SUBDIRS} ${TIT-MISC} changed.tit changed.misc ${srcdir}/leim-ext.el 210 leim-list.el: ${SUBDIRS} ${TIT-MISC} changed.tit changed.misc ${srcdir}/leim-ext.el
211 rm -rf leim-list.el 211 rm -f leim-list.el
212 ${RUN-EMACS} -l ${buildlisppath}/international/quail \ 212 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
213 -f batch-byte-compile-if-not-done ${TIT-MISC:.elc=.el} 213 -f batch-byte-compile-if-not-done ${TIT-MISC:.elc=.el}
214 if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \ 214 if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
215 ${RUN-EMACS} -l ${buildlisppath}/international/quail \ 215 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
216 --eval "(update-leim-list-file \".\")" ; \ 216 --eval "(update-leim-list-file \".\")" ; \
225 install: all 225 install: all
226 if [ ! -d ${INSTALLDIR} ] ; then \ 226 if [ ! -d ${INSTALLDIR} ] ; then \
227 ${srcdir}/${dot}${dot}/mkinstalldirs ${INSTALLDIR}; \ 227 ${srcdir}/${dot}${dot}/mkinstalldirs ${INSTALLDIR}; \
228 else true; fi 228 else true; fi
229 if [ x`(cd ${INSTALLDIR} && /bin/pwd)` != x`(/bin/pwd)` ] ; then \ 229 if [ x`(cd ${INSTALLDIR} && /bin/pwd)` != x`(/bin/pwd)` ] ; then \
230 rm -rf ${INSTALLDIR}/leim-list.el; \ 230 rm -f ${INSTALLDIR}/leim-list.el; \
231 rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/ja-dic ; \ 231 rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/ja-dic ; \
232 echo "Copying leim files to ${INSTALLDIR} ..." ; \ 232 echo "Copying leim files to ${INSTALLDIR} ..." ; \
233 if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \ 233 if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
234 tar -chf - leim-list.el quail ja-dic \ 234 tar -chf - leim-list.el quail ja-dic \
235 | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\ 235 | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\