summaryrefslogtreecommitdiff
path: root/pcr/emacs-js2-mode/js2-mode-makefile.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-02-08 03:42:16 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-02-08 03:42:16 -0500
commitbfdc55f9682888b8b64b31ed4916a37164b03190 (patch)
treebd3ac7dc757a330fa1d44c184022bc5cb8e8c3e9 /pcr/emacs-js2-mode/js2-mode-makefile.patch
parent301f99de78f5d281e31692678f8f22e3a73c15ad (diff)
emacs-js2-mode-20150909-1: updating version
Diffstat (limited to 'pcr/emacs-js2-mode/js2-mode-makefile.patch')
-rw-r--r--pcr/emacs-js2-mode/js2-mode-makefile.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/pcr/emacs-js2-mode/js2-mode-makefile.patch b/pcr/emacs-js2-mode/js2-mode-makefile.patch
new file mode 100644
index 000000000..98fc693a6
--- /dev/null
+++ b/pcr/emacs-js2-mode/js2-mode-makefile.patch
@@ -0,0 +1,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