* (log-edit-show-diff): Error out if the diff function is not set.
[bpt/emacs.git] / leim / Makefile.in
index 4c5d9b6..14bcffb 100644 (file)
@@ -9,7 +9,7 @@
 
 # GNU Emacs is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
 # any later version.
 #
 # GNU Emacs is distributed in the hope that it will be useful,
@@ -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} \
@@ -271,3 +276,9 @@ maintainer-clean: distclean
 
 extraclean: maintainer-clean
        -rm -f *~ \#* m/?*~ s/?*~
+
+.PHONY: check-declare
+
+check-declare:
+       $(RUN-EMACS) -l $(buildlisppath)/emacs-lisp/check-declare \
+         --eval '(check-declare-directory "$(srcdir)")'