1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

* lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.

This commit is contained in:
Glenn Morris 2015-06-04 19:26:32 -04:00
parent 058ecce357
commit cc88cb8ac4

View File

@ -476,10 +476,11 @@ maintainer-clean: distclean bootstrap-clean
check-declare:
$(emacs) -l check-declare --eval '(check-declare-directory "$(lisp)")'
## This finds a lot of duplicates between foo.el and obsolete/foo.el.
check-defun-dups:
sed -n -e '/^(defun /s/\(.\)(.*/\1/p' \
$$(find . -name '*.el' -print | grep -v 'loaddefs\.el') \
| sort | uniq -d
$$(find . -name '*.el' -print | \
grep -Ev '(loaddefs|ldefs-boot)\.el') | sort | uniq -d
# Dependencies