We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3f2c33 commit 421a3d1Copy full SHA for 421a3d1
scripts/deploy.sh
@@ -27,4 +27,20 @@ apt-get update
27
28
# Install Emacs build dependencies.
29
30
-apt-get install -y libncurses-dev libxpm-dev libxaw7-dev libtiff4-dev libpng-dev libgif-dev autoconf automake texinfo
+apt-get install -y libncurses-dev libxpm-dev libxaw7-dev \
31
+ libtiff4-dev libpng-dev libgif-dev autoconf \
32
+ automake texinfo curl
33
+
34
+# Build Emacs.
35
36
+EMACS_DIRECTORY=/usr/local/emacs
37
+EMACS_SRC=$EMACS_DIRECTORY/src
38
+EMACS_VERSIONS=(emacs-24.3 emacs-24.4 emacs-24.5)
39
40
+mkdir -p $EMACS_DIRECTORY $EMACS_SRC
41
42
+for version in ${EMACS_VERSIONS[@]}
43
+do
44
+ arch=$EMACS_SRC/$version
45
+ curl http://ftp.gnu.org/gnu/emacs/${version}.tar.xz -o $arch -z $arch -s
46
+done
0 commit comments