File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 11EMACS ?= emacs
2- ELS = php.el php-align.el php-face.el php-project.el php-mode.el php-mode-debug.el
2+ ELS = lisp/ php.el lisp/ php-align.el lisp/ php-face.el lisp/ php-project.el lisp/ php-mode.el lisp/ php-mode-debug.el
33AUTOLOADS = php-mode-autoloads.el
44ELCS = $(ELS:.el=.elc )
55
66% .elc : % .el
7- $(EMACS ) -Q -batch -L . -f batch-byte-compile $<
7+ $(EMACS ) -Q -batch -L lisp/ -f batch-byte-compile $<
88
99all : autoloads $(ELCS ) authors
1010
@@ -24,11 +24,11 @@ AUTHORS.md: etc/git/AUTHORS.md.in .mailmap
2424
2525autoloads : $(AUTOLOADS )
2626
27- $(AUTOLOADS ) : php.el php-align.el php-face.el php-project.el php-mode-debug.el php-mode.el
28- $(EMACS ) -Q -batch -L . --eval \
27+ $(AUTOLOADS ) : lisp/ php.el lisp/ php-align.el lisp/ php-face.el lisp/ php-project.el lisp/ php-mode-debug.el lisp/ php-mode.el
28+ $(EMACS ) -Q -batch -L lisp/ --eval \
2929 " (progn \
3030 (require ' package) \
31- (package-generate-autoloads \" php-mode\" default-directory ))"
31+ (package-generate-autoloads \" php-mode\" (expand-file-name \" lisp \" ) ))"
3232
3333clean :
3434 rm -f $(ELCS ) $(AUTOLOADS )
5252# command.
5353test : clean all
5454 touch tests/project/1/.git
55- $(EMACS ) -Q -batch -L . -l tests/php-mode-test.el -f ert-run-tests-batch-and-exit
55+ $(EMACS ) -Q -batch -l lisp/php-mode-autoloads.el \
56+ -l tests/php-mode-test.el -f ert-run-tests-batch-and-exit
5657
5758.PHONY : all authors autoloads clean test
You can’t perform that action at this time.
0 commit comments