Remove redundant var def
[khome.git] / deps / emacs / Makefile
CommitLineData
555542f3
SK
1# https://www.gnu.org/software/emacs/manual/html_node/efaq/Installing-Emacs.html
2
3VERSION := 27.1
4SRC_DIR := emacs-$(VERSION)
5SRC_TARBALL := $(SRC_DIR).tar.gz
6
7.PHONY: configure_build_install
8configure_build_install: data/$(SRC_DIR)
9 cd data/$(SRC_DIR) && ./configure
10 cd data/$(SRC_DIR) && make -j$(shell nproc)
11 cd data/$(SRC_DIR) && make -j$(shell nproc) install
12
13data/$(SRC_DIR): $(SRC_TARBALL)
14 cd data && tar -vxzf $(SRC_TARBALL)
15
16$(SRC_TARBALL):
17 mkdir -p data
18 cd data && wget -c https://ftp.gnu.org/pub/gnu/emacs/$(SRC_TARBALL)
This page took 0.039815 seconds and 4 git commands to generate.