dotfiles

config files and scripts at HOME.
git clone git://git.ricketyspace.net/dotfiles.git
Log | Files | Refs

commit cc10bafe3072a8c2ea3ea37301a8daccf746a7f3
parent aaefa886d8346a64c6ca9fa5a3574fd8bd9aa522
Author: rsiddharth <s@ricketyspace.net>
Date:   Thu, 24 May 2018 22:24:41 +0000

.bin: Remove emacs-build.

Diffstat:
.bin/emacs-build | 48------------------------------------------------
1 file changed, 0 insertions(+), 48 deletions(-)

diff --git a/.bin/emacs-build b/.bin/emacs-build @@ -1,48 +0,0 @@ -#!/bin/sh -# -# Copyright © 2017, 2018 rsiddharth <s@ricketyspace.net> -# License: BSD2 -# -# systemd-nspawn container for building/making emacs -# -# usage: -# -# $ emacs-build start-make -# - -CONTAINER_DIR='/var/lib/container' -CONTAINER_NAME='emacs-builder' -CONTAINER=$CONTAINER_DIR'/'$CONTAINER_NAME -SCRIPT=`which "$0"` - -EMACS_DIR=$HOME'/v/git.sv.gnu.org/emacs' - -TERMINFO_SRC='/usr/share/terminfo/r/rxvt-256color:' -TERMINFO_BIND=$TERMINFO_SRC'/root/.terminfo/r/rxvt-256color' - -if [ "$1" = "start-make" ]; then - echo 'starting container' - sudo systemd-nspawn \ - -D $CONTAINER \ - --bind-ro=$SCRIPT:/root/$SCRIPT \ - --bind=$EMACS_DIR:/root/emacs \ - /root/$SCRIPT make-emacs -elif [ "$1" = "make-emacs" ]; then - echo 'building emacs...' - cd /root/emacs - git pull - ./autogen.sh all - ./configure --with-mailutils --with-x-toolkit=gtk3 - make bootstrap -elif [ "$1" = "shell" ]; then - echo 'starting container' - sudo systemd-nspawn \ - -D $CONTAINER \ - --bind-ro=$SCRIPT:/root/$SCRIPT \ - --bind=$EMACS_DIR:/root/emacs \ - --bind-ro=$TERMINFO_BIND -else - echo 'Dunno what to do' - exit 1 -fi -