Skip to content

Commit b33b916

Browse files
committed
make: Run check-declare-directory
1 parent 6dc4d4b commit b33b916

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,19 @@ help:
2626
$(info make clean - remove generated files)
2727
@printf "\n"
2828

29-
lisp: $(ELCS) loaddefs
29+
lisp: $(ELCS) loaddefs check-declare
3030

3131
loaddefs: $(PKG)-autoloads.el
3232

3333
%.elc: %.el
3434
@printf "Compiling $<\n"
3535
@$(EMACS) -Q --batch $(EMACS_ARGS) $(LOAD_PATH) -f batch-byte-compile $<
3636

37+
check-declare:
38+
@printf " Checking function declarations\n"
39+
@$(EMACS) -Q --batch $(EMACS_ARGS) $(LOAD_PATH) \
40+
--eval "(check-declare-directory default-directory)"
41+
3742
CLEAN = $(ELCS) $(PKG)-autoloads.el
3843

3944
clean:

0 commit comments

Comments
 (0)