Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Files to build.

  • Loading branch information...
commit 2a4f6935509cbe744ba6197cf96f9fbfc7ce4297 1 parent 84a8993
INA Lintaro authored
2  .gitignore
View
@@ -0,0 +1,2 @@
+*.elc
+.depend
18 .gitmodules
View
@@ -0,0 +1,18 @@
+[submodule "lib/tab-group-el"]
+ path = lib/tab-group-el
+ url = git://github.com/tarao/tab-group-el.git
+[submodule "lib/key-intercept"]
+ path = lib/key-intercept
+ url = git://github.com/tarao/key-intercept-el.git
+[submodule "lib/multi-mode-util"]
+ path = lib/multi-mode-util
+ url = git://github.com/tarao/multi-mode-util.git
+[submodule "lib/multi-mode"]
+ path = lib/multi-mode
+ url = git://github.com/emacsmirror/multi-mode.git
+[submodule "lib/evil"]
+ path = lib/evil
+ url = git://gitorious.org/evil/evil.git
+[submodule "lib/anything-config"]
+ path = lib/anything-config
+ url = git://repo.or.cz/anything-config.git
52 Makefile
View
@@ -0,0 +1,52 @@
+SHELL = /bin/sh
+EMACS = emacs
+FILES = $(wildcard *.el)
+PROFILER =
+LIB = lib
+LIBS = -L "$(LIB)" -L lib/anything-config/extensions -l subdirs.el
+
+ELCFILES = $(FILES:.el=.elc)
+
+.PHONY: all compile compile-batch clean emacs term terminal
+
+all: compile
+compile: $(ELCFILES)
+
+.depend: $(FILES)
+ @echo Compute dependencies
+ @rm -f .depend
+ @for f in $(FILES); do \
+ sed -n "s/^.*(require '\(term+[^ )]*\)).*$$/$${f}c: \1.elc/p" $$f >> .depend;\
+ done
+
+-include .depend
+
+$(ELCFILES): %.elc: %.el
+ $(EMACS) --batch -Q -L . $(LIBS) \
+--eval "(add-subdirs-to-load-path \"$(LIB)\")" \
+-f batch-byte-compile $<
+
+clean:
+ rm -f *~
+ rm -f \#*\#
+ rm -f *.elc
+ rm -f .depend
+
+emacs:
+ $(EMACS) -Q -L . $(LIBS) \
+--eval "(add-subdirs-to-load-path \"$(LIB)\")" \
+--eval "(require 'term+mux)" \
+--eval "(require 'xterm-256color)" \
+--eval "(require 'key-intercept)" \
+--eval "(require 'multi-mode-util)" \
+--eval "(term+mux-new)" &
+
+term: terminal
+terminal:
+ $(EMACS) -nw -Q -L . $(LIBS) \
+--eval "(add-subdirs-to-load-path \"$(LIB)\")" \
+--eval "(require 'term+mux)" \
+--eval "(require 'xterm-256color)" \
+--eval "(require 'key-intercept)" \
+--eval "(require 'multi-mode-util)" \
+--eval "(term+mux-new)"
1  lib/anything-config
@@ -0,0 +1 @@
+Subproject commit d04b14813adf687c34e71af0ef2d4ee3bafdb634
1  lib/evil
@@ -0,0 +1 @@
+Subproject commit ebd97ad4d192b17611b6805884293b43a68b1360
1  lib/key-intercept
@@ -0,0 +1 @@
+Subproject commit 24376b1aa21eb9da32d105ea172ffbe36d329846
1  lib/multi-mode
@@ -0,0 +1 @@
+Subproject commit b56b85303b9c0c5aada2bcb4563c15a084332ef2
1  lib/multi-mode-util
@@ -0,0 +1 @@
+Subproject commit 187aac3a0e7cec272ceb6ec1e675ace0cb45e834
7 lib/subdirs.el
View
@@ -0,0 +1,7 @@
+(defun add-subdirs-to-load-path (dir)
+ (when (fboundp 'normal-top-level-add-subdirs-to-load-path)
+ (let* ((dir (expand-file-name dir))
+ (default-directory (expand-file-name dir)))
+ (when (file-directory-p dir)
+ (setq load-path (cons dir load-path))
+ (normal-top-level-add-subdirs-to-load-path)))))
1  lib/tab-group-el
@@ -0,0 +1 @@
+Subproject commit bbad074ef91d5436c0ab12bec6ccfc86e0961460
Please sign in to comment.
Something went wrong with that request. Please try again.