Restore (with tweaks) instal.el and Makefile
Adjusted for new definition of selected packages
This commit is contained in:
parent
7124e154aa
commit
87c4ec61d1
6
Makefile
Normal file
6
Makefile
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
.PHONY: default install
|
||||||
|
|
||||||
|
default: install
|
||||||
|
|
||||||
|
install:
|
||||||
|
emacs --script install.el --kill
|
10
install.el
Normal file
10
install.el
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
;;; install.el -- Handle installing selected packages -*- lexical-binding: t -*-
|
||||||
|
;;; Commentary:
|
||||||
|
;;; Code:
|
||||||
|
;; Configure packages archives with priority
|
||||||
|
(load-file (locate-user-emacs-file "init.el"))
|
||||||
|
(package-refresh-contents)
|
||||||
|
(package-install-selected-packages t)
|
||||||
|
(package-autoremove)
|
||||||
|
(provide 'install)
|
||||||
|
;;; install.el ends here
|
Loading…
Reference in a new issue