Skip to content

Commit

Permalink
Simplify Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley committed Jan 17, 2018
1 parent 7deff9f commit 21d2e45
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions Makefile
Expand Up @@ -5,22 +5,13 @@ EMACS_BATCH = $(EMACS) -Q -batch

TARGET = $(patsubst %.el,%.elc, dot-gnus.el dot-org.el init.el)

DIRS = lib lisp site-lisp
DIRS = lisp
SUBDIRS = $(shell find $(DIRS) -maxdepth 2 \
! -name .git \
! -name doc \
! -name dev \
! -name test \
! -name tests \
! -name testing \
! -name shimbun \
! -name obsolete \
! -name examples \
! -name samples \
! -name support \
! -name targets \
! -name style \
! -path '*/slime/lib' \
-type d -print)

MY_LOADPATH = -L . $(patsubst %,-L %, $(SUBDIRS))
Expand All @@ -38,27 +29,6 @@ info/dir:
--entry='* HyperSpec: (gcl). The Common Lisp HyperSpec.' \
info/gcl.info $@

compile-packages:
for i in \
site-lisp/ProofGeneral \
site-lisp/auctex \
site-lisp/avy \
site-lisp/company-mode \
site-lisp/deft \
site-lisp/ebdb \
site-lisp/evil \
site-lisp/flycheck \
site-lisp/haskell-mode \
site-lisp/helm \
site-lisp/hyperbole \
site-lisp/lusty-emacs \
site-lisp/org-mode \
site-lisp/slime \
site-lisp/swiper \
; do (cd $$i && make ASYNC_ELPA_DIR=$(HOME)/emacs/lisp/emacs-async) \
; done
(cd site-lisp/hyperbole && make elc)

compile:
@BATCH_LOAD="$(BATCH_LOAD)" ./compile-all $(DIRS)
@echo All Emacs Lisp files have been compiled.
Expand Down

0 comments on commit 21d2e45

Please sign in to comment.