-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
76 lines (50 loc) · 1.82 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
First you have to pull all submodules:
$ git submodule update --init --recursive
Then install the following packages if not present (e.g. on a
fresh Ubuntu installation):
* autoconfig-1.11
* automake
* libtool
* libxml2-dev
* ant-contrib
* sun-java6-jdk
Adding the 'partner' repository is needed:
$ sudo add-apt-repository "deb http://archive.canonical.com/ natty partner")
$ sudo apt-get update
The doxymacs module needs to be built like that:
$ automake --add-missing
$ autoreconf
$ ./configure --prefix=$(pwd)
$ make install
The autocomplete installation:
$ cd .emacs.d/plugins/auto-complete
$ mkdir bin
$ make DIR=bin install
The jdee installation:
$ cd .emacs.d/plugins/jdee
# Edit the build.xml file with this patch:
# ========[cut here]=======
# --- a/build.xml
# +++ b/build.xml
# @@ -6,8 +6,11 @@
# -->
#
# <!-- add in the contribs (add ant-contrib-VERSION.jar) to CLASSPATH -->
# - <taskdef resource="net/sf/antcontrib/antlib.xml"/>
# -
# + <taskdef resource="net/sf/antcontrib/antlib.xml">
# + <classpath>
# + <pathelement location="/usr/share/java/ant-contrib.jar"/>
# + </classpath>
# + </taskdef>
#
# <!-- basic properties, the rest are taken from ${config.dir}/build. -->
# <property name="project.dir" location="./"/>
# ========[cut here]=======
$ ant
The js2-mode compilation:
$ cd .emacs.d/plugins/js2-mode
$ emacs --batch -f batch-byte-compile js2-mode.el
The js-beautify requires the source from git://github.com/einars/js-beautify.git in ~/proj/
$ git clone git://github.com/einars/js-beautify.git
In the end go to the top directory and run the `./install.sh` script.