Skip to content

Commit

Permalink
make: Run check-declare-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed May 9, 2022
1 parent a766fee commit 492e0e4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ help:
$(info make clean - remove most generated files)
@printf "\n"

lisp: $(ELCS) loaddefs
lisp: $(ELCS) loaddefs check-declare

docs:
@$(MAKE) -C docs docs
Expand Down Expand Up @@ -57,6 +57,11 @@ loaddefs: $(PKG)-autoloads.el
@printf "Compiling $<\n"
@$(EMACS) -Q --batch $(EMACS_ARGS) $(LOAD_PATH) -f batch-byte-compile $<

check-declare:
@printf " Checking function declarations\n"
@$(EMACS) -Q --batch $(EMACS_ARGS) $(LOAD_PATH) \
--eval "(check-declare-directory default-directory)"

$(PKG)-autoloads.el: $(ELS)
@printf " Creating $@\n"
@$(EMACS) -Q --batch -l autoload -l cl-lib --eval "\
Expand Down
4 changes: 3 additions & 1 deletion default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ ELS = $(PKG).el
ELS += $(PKG)-elpa.el
ELCS = $(ELS:.el=.elc)

DEPS =
# Optional:
DEPS = epkg/lisp
DEPS += magit/lisp

DOMAIN ?= emacsmirror.net
CFRONT_DIST ?= E1IXJGPIOM4EUW
Expand Down

0 comments on commit 492e0e4

Please sign in to comment.