Skip to content

Commit

Permalink
Don't install package-lint for build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Nov 4, 2023
1 parent bd94b88 commit 1cec130
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
EMACS ?= emacs

# A space-separated list of required package names
NEEDED_PACKAGES = package-lint
DEPS =

INIT_PACKAGES="(progn \
(require 'package) \
Expand All @@ -17,10 +17,10 @@ INIT_PACKAGES="(progn \
all: compile package-lint clean-elc

package-lint:
${EMACS} -Q --eval ${INIT_PACKAGES} -batch -f package-lint-batch-and-exit exec-path-from-shell.el
${EMACS} -Q --eval $(subst PACKAGES,package-lint,${INIT_PACKAGES}) -batch -f package-lint-batch-and-exit exec-path-from-shell.el

compile: clean-elc
${EMACS} -Q --eval ${INIT_PACKAGES} -L . -batch -f batch-byte-compile *.el
${EMACS} -Q --eval $(subst PACKAGES,${DEPS},${INIT_PACKAGES}) -L . -batch -f batch-byte-compile *.el

clean-elc:
rm -f f.elc
Expand Down

0 comments on commit 1cec130

Please sign in to comment.