diff options
| author | Glenn Morris | 2012-05-09 19:46:58 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-05-09 19:46:58 -0700 |
| commit | 234d8d6682c1903a2180a7ad4ae17bb5e45468e2 (patch) | |
| tree | f422017de0bc8839185fe3608adeddf524d5c913 | |
| parent | ec8145a2d90c2c59af0b33a8f295aea620e4fd7f (diff) | |
| download | emacs-234d8d6682c1903a2180a7ad4ae17bb5e45468e2.tar.gz emacs-234d8d6682c1903a2180a7ad4ae17bb5e45468e2.zip | |
Simply leim install rule for ns case
* leim/Makefile.in (MV_DIRS): Remove.
(install): Simplify the --with-ns case.
| -rw-r--r-- | leim/ChangeLog | 7 | ||||
| -rw-r--r-- | leim/Makefile.in | 9 |
2 files changed, 10 insertions, 6 deletions
diff --git a/leim/ChangeLog b/leim/ChangeLog index 07e26cf766b..49d5b8c0b9a 100644 --- a/leim/ChangeLog +++ b/leim/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-05-10 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (MV_DIRS): Remove. | ||
| 4 | (install): Simplify the --with-ns case. | ||
| 5 | |||
| 1 | 2012-04-09 Glenn Morris <rgm@gnu.org> | 6 | 2012-04-09 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * Makefile.in (EMACS): Rename from BUILT_EMACS. | 8 | * Makefile.in (EMACS): Rename from BUILT_EMACS. |
| @@ -2289,7 +2294,7 @@ | |||
| 2289 | ;; coding: utf-8 | 2294 | ;; coding: utf-8 |
| 2290 | ;; End: | 2295 | ;; End: |
| 2291 | 2296 | ||
| 2292 | Copyright (C) 1997-1999, 2001-2012 Free Software Foundation, Inc. | 2297 | Copyright (C) 1997-1999, 2001-2012 Free Software Foundation, Inc. |
| 2293 | 2298 | ||
| 2294 | This file is part of GNU Emacs. | 2299 | This file is part of GNU Emacs. |
| 2295 | 2300 | ||
diff --git a/leim/Makefile.in b/leim/Makefile.in index 21561a357d1..1b1cd3fbcfd 100644 --- a/leim/Makefile.in +++ b/leim/Makefile.in | |||
| @@ -35,6 +35,7 @@ srcdir=@srcdir@ | |||
| 35 | ns_appresdir=@ns_appresdir@ | 35 | ns_appresdir=@ns_appresdir@ |
| 36 | 36 | ||
| 37 | # Where to install LEIM files. | 37 | # Where to install LEIM files. |
| 38 | # Should be $ns_appresdir/leim if $ns_appresdir is set. | ||
| 38 | INSTALLDIR=$(DESTDIR)${datadir}/emacs/${version}/leim | 39 | INSTALLDIR=$(DESTDIR)${datadir}/emacs/${version}/leim |
| 39 | 40 | ||
| 40 | GZIP_PROG = @GZIP_PROG@ | 41 | GZIP_PROG = @GZIP_PROG@ |
| @@ -174,8 +175,6 @@ compile-main: ${TIT_MISC} | |||
| 174 | $(MAKE) $(MFLAGS) compile-targets EMACS="$(EMACS)" TARGETS="$$chunk"; \ | 175 | $(MAKE) $(MFLAGS) compile-targets EMACS="$(EMACS)" TARGETS="$$chunk"; \ |
| 175 | done | 176 | done |
| 176 | 177 | ||
| 177 | MV_DIRS = for i in $$dir; do rm -fr `basename "$$i"` ; mv "$$i" . ; done | ||
| 178 | |||
| 179 | install: all | 178 | install: all |
| 180 | if [ ! -d ${INSTALLDIR} ] ; then \ | 179 | if [ ! -d ${INSTALLDIR} ] ; then \ |
| 181 | umask 022; ${srcdir}/../build-aux/install-sh -d ${INSTALLDIR}; \ | 180 | umask 022; ${srcdir}/../build-aux/install-sh -d ${INSTALLDIR}; \ |
| @@ -216,9 +215,9 @@ install: all | |||
| 216 | done ; \ | 215 | done ; \ |
| 217 | find ${INSTALLDIR} -exec chown $${installuser} '{}' ';' | 216 | find ${INSTALLDIR} -exec chown $${installuser} '{}' ';' |
| 218 | if [ "${ns_appresdir}" != "" ]; then \ | 217 | if [ "${ns_appresdir}" != "" ]; then \ |
| 219 | ( cd ${ns_appresdir} ; \ | 218 | rm -rf ${ns_appresdir}/leim; \ |
| 220 | if test -d share/emacs ; then dir=share/emacs/*/*; $(MV_DIRS); fi;\ | 219 | mv ${INSTALLDIR} ${ns_appresdir} || exit 1; \ |
| 221 | rm -fr share ) ; \ | 220 | rmdir -p ${ns_appresdir}/share/emacs/${version} 2>/dev/null || true; \ |
| 222 | else true ; fi | 221 | else true ; fi |
| 223 | 222 | ||
| 224 | clean mostlyclean: | 223 | clean mostlyclean: |