Skip to content

Commit 8cdc727

Browse files
authored
Merge pull request #637 from emacs-php/move-lisp-files
Move *.el files into lisp/ directory
2 parents 57ef819 + ad49b0f commit 8cdc727

File tree

10 files changed

+8
-7
lines changed

10 files changed

+8
-7
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/.cask/
22
/.keg/
33
/.mailmap
4-
/php-mode-autoloads.el
4+
php-mode-autoloads.el
55
*~
66
*.elc

Makefile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
EMACS ?= 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
33
AUTOLOADS = php-mode-autoloads.el
44
ELCS = $(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

99
all: autoloads $(ELCS) authors
1010

@@ -24,11 +24,11 @@ AUTHORS.md: etc/git/AUTHORS.md.in .mailmap
2424

2525
autoloads: $(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

3333
clean:
3434
rm -f $(ELCS) $(AUTOLOADS)
@@ -52,6 +52,7 @@ dev:
5252
# command.
5353
test: 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

php.el renamed to lisp/php.el

File renamed without changes.

0 commit comments

Comments
 (0)