]> git.eshelyaron.com Git - emacs.git/commitdiff
(install): Change ownership of installed files.
authorGlenn Morris <rgm@gnu.org>
Wed, 31 Oct 2007 03:17:50 +0000 (03:17 +0000)
committerGlenn Morris <rgm@gnu.org>
Wed, 31 Oct 2007 03:17:50 +0000 (03:17 +0000)
leim/ChangeLog
leim/Makefile.in

index 3db8501fbdcdd9654246e5bf71f8503777adc539..25e39c56ad1dd0ff5f48b36ff382663a50d82cc4 100644 (file)
@@ -1,3 +1,7 @@
+2007-10-31  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (install): Change ownership of installed files.
+
 2007-10-20  Edward O'Connor <hober0@gmail.com>  (tiny change)
 
        * quail/latin-ltx.el ("\\qed"): Add this rule.
index 188ac81c880b4a93a1fa79e016baf732cba2d506..ad34ca8745741a38f4a21450a05e46a90ed21c17 100644 (file)
@@ -251,6 +251,11 @@ install: all
            done) \
        else true; fi
        -chmod -R a+r ${INSTALLDIR}
+       for installuser in $${LOGNAME} $${USERNAME} $${USER} \
+         `id -un 2> /dev/null`; do \
+         [ -n "$${installuser}" ] && break ; \
+       done ; \
+       find ${INSTALLDIR} -exec chown $${installuser} '{}' ';'
 
 clean mostlyclean:
        rm -f ${TIT-MISC} ${TIT-MISC:.elc=.el} \