summaryrefslogtreecommitdiff
path: root/pcr/emacs-js2-mode/js2-mode-makefile.patch
blob: 98fc693a6253e76ff63b6d3bd4db0776ea36a1b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- js2-mode-20150909.orig/Makefile	2015-09-09 13:37:51.000000000 -0500
+++ js2-mode-20150909/Makefile	2016-02-08 02:21:12.128814213 -0500
@@ -10,17 +10,13 @@
 OBJS = $(SRCS:.el=.elc)
 
 %.elc: %.el
-	${EMACS} $(BATCHFLAGS) -f batch-byte-compile $^
+	${EMACS} $(BATCHFLAGS) -L . -f batch-byte-compile $^
 
 all: $(OBJS)
 
 clean:
 	-rm -f $(OBJS)
 
-# custom build (require loads)
-js2-imenu-extras.elc: js2-mode.elc
-	${EMACS} $(BATCHFLAGS) -l ./js2-mode.elc -f batch-byte-compile $*.el
-
 test:
 	${EMACS} $(BATCHFLAGS) -L . -l js2-mode.el -l js2-old-indent.el -l tests/parser.el\
 	  -l tests/indent.el -l tests/externs.el -f ert-run-tests-batch-and-exit