diff options
author | Glenn Morris <rgm@gnu.org> | 2012-05-21 16:13:49 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-05-21 16:13:49 -0400 |
commit | d10cfddd07aec937599944575123d007d5981310 (patch) | |
tree | d7e29a18db3772960a85903738beb73ffc7e1046 /leim | |
parent | 629efc920b4d1f3b4ca18c97ec8104d87b5b52fc (diff) | |
download | emacs-d10cfddd07aec937599944575123d007d5981310.tar.gz |
Let the top-level Makefile install leim
* Makefile.in (leimdir): New, set by configure.
(COPYDIR, COPYDESTS): Add leim directories.
(install-leim): Remove.
(install-arch-indep): Handle leim installation directly.
* leim/Makefile.in (install): Remove, let top-level do it.
(version, prefix, datarootdir, datadir, ns_appresdir, leimdir):
(MKDIR_P, GZIP_PROG): Remove, no longer used.
Diffstat (limited to 'leim')
-rw-r--r-- | leim/ChangeLog | 4 | ||||
-rw-r--r-- | leim/Makefile.in | 52 |
2 files changed, 4 insertions, 52 deletions
diff --git a/leim/ChangeLog b/leim/ChangeLog index 953e6f1acdd..099e69423c0 100644 --- a/leim/ChangeLog +++ b/leim/ChangeLog @@ -1,5 +1,9 @@ 2012-05-21 Glenn Morris <rgm@gnu.org> + * Makefile.in (install): Remove, let top-level do it. + (version, prefix, datarootdir, datadir, ns_appresdir, leimdir): + (MKDIR_P, GZIP_PROG): Remove, no longer used. + * Makefile.in (install_prefix): Remove. (LEIM_INSTALLDIR): Rename to leimdir. (install): Update for this change. diff --git a/leim/Makefile.in b/leim/Makefile.in index 73aa8328ed9..1cda73b3492 100644 --- a/leim/Makefile.in +++ b/leim/Makefile.in @@ -27,21 +27,7 @@ SHELL = /bin/sh # Here are the things that we expect ../configure to edit. -version=@version@ -prefix=@prefix@ -datarootdir=@datarootdir@ -datadir=@datadir@ srcdir=@srcdir@ -ns_appresdir=@ns_appresdir@ - -# Where to install LEIM files. -# For most builds, this is ${datadir}/emacs/${version}/leim. -# For self-contained ns builds, it is ${ns_appresdir}/leim. -leimdir=@leimdir@ - -MKDIR_P = @MKDIR_P@ - -GZIP_PROG = @GZIP_PROG@ # Which Emacs to use to convert TIT files to Emacs Lisp files, # byte-compile Emacs Lisp files, and generate the file leim-list.el. @@ -187,44 +173,6 @@ compile-main: ${TIT_MISC} $(MAKE) $(MFLAGS) compile-targets EMACS="$(EMACS)" TARGETS="$$chunk"; \ done -install: all - umask 022; ${MKDIR_P} $(DESTDIR)${leimdir} - if [ x`cd $(DESTDIR)${leimdir} && /bin/pwd` != x`/bin/pwd` ] ; then \ - rm -f $(DESTDIR)${leimdir}/leim-list.el; \ - rm -rf $(DESTDIR)${leimdir}/quail $(DESTDIR)${leimdir}/ja-dic ; \ - echo "Copying leim files to $(DESTDIR)${leimdir} ..." ; \ - if [ x`cd ${srcdir} && /bin/pwd` = x`/bin/pwd` ] ; then \ - tar -chf - leim-list.el quail ja-dic \ - | (cd $(DESTDIR)${leimdir}; umask 0; tar -xvf - && cat > /dev/null) ;\ - else \ - tar -chf - leim-list.el quail \ - | (cd $(DESTDIR)${leimdir}; umask 0; tar -xvf - && cat > /dev/null) ;\ - cd ${srcdir}; \ - tar -chf - quail/* ja-dic \ - | (cd $(DESTDIR)${leimdir}; umask 0; tar -xvf - && cat > /dev/null) ;\ - fi; \ - rm -f $(DESTDIR)${leimdir}/.gitignore $(DESTDIR)${leimdir}/*/.gitignore; \ - rm -f $(DESTDIR)${leimdir}/.arch-inventory $(DESTDIR)${leimdir}/*/.arch-inventory; \ - rm -f $(DESTDIR)${leimdir}/\#* $(DESTDIR)${leimdir}/*/\#* ; \ - rm -f $(DESTDIR)${leimdir}/.\#* $(DESTDIR)${leimdir}/*/.\#* ; \ - rm -f $(DESTDIR)${leimdir}/*~ $(DESTDIR)${leimdir}/*/*~ ; \ - rm -f $(DESTDIR)${leimdir}/*.orig $(DESTDIR)${leimdir}/*/*.orig ; \ - else true; fi - -unset CDPATH; \ - if [ -n "${GZIP_PROG}" ]; \ - then \ - echo "Compressing *.el ..." ; \ - (cd $(DESTDIR)${leimdir}; for f in `find . -name "*.elc" -print`; do \ - ${GZIP_PROG} -9n `echo $$f|sed 's/.elc$$/.el/'` ; \ - done) \ - else true; fi - -chmod -R a+r $(DESTDIR)${leimdir} - for installuser in $${LOGNAME} $${USERNAME} $${USER} \ - `id -un 2> /dev/null`; do \ - [ -n "$${installuser}" ] && break ; \ - done ; \ - find $(DESTDIR)${leimdir} -exec chown $${installuser} '{}' ';' - clean mostlyclean: rm -f ${TIT_MISC} ${TIT_MISC:.el=.elc} \ leim-list.el changed.tit changed.misc |