summaryrefslogtreecommitdiffstats
path: root/roles/wiki-publish/tasks/emacs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/wiki-publish/tasks/emacs.yml')
-rw-r--r--roles/wiki-publish/tasks/emacs.yml38
1 files changed, 0 insertions, 38 deletions
diff --git a/roles/wiki-publish/tasks/emacs.yml b/roles/wiki-publish/tasks/emacs.yml
deleted file mode 100644
index 8d75979..0000000
--- a/roles/wiki-publish/tasks/emacs.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-- name: Install dependencies
- apt:
- name:
- - build-essential
- - libncurses5-dev
- - git
- - gnutls-bin
- - pkg-config
- - libjansson-dev
- - libgnutls28-dev
- - automake
- - texinfo
- state: present
-- name: Create directory
- file:
- path: "{{ emacs_build_parent }}"
- state: directory
-- name: Download Emacs
- unarchive:
- src: https://ftp.gnu.org/gnu/emacs/emacs-{{emacs_version}}.tar.gz
- remote_src: yes
- dest: "{{ emacs_build_parent }}"
- creates: "{{ emacs_build_dir }}"
-- name: Configure
- command: ./configure --with-x-toolkit=no
- args:
- chdir: "{{ emacs_build_dir }}"
- creates: '{{ emacs_build_dir }}/Makefile'
-- name: Build
- command: make -j{{ cpus }}
- args:
- chdir: "{{ emacs_build_dir }}"
- creates: '{{ emacs_build_dir }}/src/emacs'
-- name: Install
- command: make install
- args:
- chdir: "{{ emacs_build_dir }}"
- creates: '/usr/local/bin/emacs'