[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: build from source code
From: |
Byung-Hee HWANG |
Subject: |
Re: build from source code |
Date: |
Tue, 07 Sep 2021 20:07:15 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (aarch64-unknown-linux-gnu) |
> This works for the me with 28.0, perhaps you don't need the
> "reset" part ...
>
> #! /bin/zsh
> #
> # this file:
> # http://user.it.uu.se/~embe8573/conf/.zsh/install-emacs
> # https://dataswamp.org/~incal/conf/.zsh/install-emacs
>
> local EMACS_SRC=https://git.savannah.gnu.org/git/emacs.git
> local EMACS_DIR=~/src
>
> emacs-install-prepare () {
> sudo apt-get -qq update
> sudo apt-get install build-essential
> sudo apt-get build-dep emacs
> }
>
> emacs-src-reset () {
> cd $EMACS_DIR
> git reset --hard
> git clean -xdf
> git pull $EMACS_SRC
> }
> alias emacs-reset-src=emacs-src-reset
>
> emacs-src-get () {
> cd $EMACS_DIR
> git clone $EMACS_SRC
> }
> alias emacs-get-src=emacs-src-get
>
> # autogen.sh
> # configure --with-x-toolkit=no
> # make
> # sudo make install
Thanks Emanuel^^^
Sincerely, Gnus fan Byung-Hee