File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,18 @@ ELCS = $(ELS:.el=.elc)
55% .elc : % .el
66 $(EMACS ) -Q -batch -L . -f batch-byte-compile $<
77
8- all : $(ELCS )
8+ all : autoloads $(ELCS )
9+
10+ autoloads : php-mode-autoloads.el
11+
12+ php-mode-autoloads.el :
13+ $(EMACS ) -Q -batch -L . --eval \
14+ " (progn \
15+ (require 'package) \
16+ (package-generate-autoloads 'php-mode default-directory))"
917
1018clean :
11- rm -f $(ELCS )
19+ rm -f $(ELCS ) php-mode-autoloads.el
1220
1321# Runs all unit tests from php-mode-test.el and shows the results. The
1422# script will exit with the status code zero if all tests pass. If any
2432test : clean all
2533 $(EMACS ) -Q -batch -L . -l php-mode-test.el -f ert-run-tests-batch-and-exit
2634
27- .PHONY : all clean test
35+ .PHONY : all autoloads clean test
You can’t perform that action at this time.
0 commit comments