Skip to content

Commit

Permalink
Merge pull request 'Simple path substitution to account for the elisp…
Browse files Browse the repository at this point in the history
…/ -> lisp/ rename.' (legoscia#29) from hdasch/emacs-jabber:makefile-paths into production

Fixup path names in Makefile to enable lint.
  • Loading branch information
Hugh Daschbach committed Jul 2, 2023
2 parents 090dbf5 + e1c4a46 commit e41ae55
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@ compile:
--eval="(setq print-length nil)" \
--eval="(add-to-list 'load-path \"$(pwd)\")" \
--eval="(add-to-list 'load-path \"jabber-fallback-lib\")" \
-f batch-byte-compile elisp/
-f batch-byte-compile lisp/

lint-check-declare:
for file in elisp/*.el ; do \
for file in lisp/*.el ; do \
emacs -q -Q --batch --eval="(check-declare-file \"$$file\")" ; \
done

lint-checkdoc:
for file in elisp/*.el ; do \
for file in lisp/*.el ; do \
emacs -q -Q --batch --eval="(checkdoc-file \"$$file\")" ; \
done

lint-package-lint:
emacs -Q --batch \
--eval='(package-initialize)' --eval="(require 'package-lint)" \
-f 'package-lint-batch-and-exit' $(wildcard elisp/*.el)
-f 'package-lint-batch-and-exit' $(wildcard lisp/*.el)

lint-relint:
emacs -Q --batch \
--eval='(package-initialize)' --eval="(require 'relint)" \
-f 'relint-batch' "elisp"
-f 'relint-batch' "lisp"

lint: lint-check-declare lint-checkdoc lint-package-lint lint-relint

clean-elc:
-rm elisp/*.elc
-rm lisp/*.elc

clean: clean-elc

0 comments on commit e41ae55

Please sign in to comment.