home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit a7d1f6cbea7d5fa363d376e4ccab06e9ef53f6d7
parent f34b332261e9e98a57d97263e40e9646b5b1a02c
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri,  3 Apr 2020 13:20:21 +0200

Makefile: fix where the emacs configuration is

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
MMakefile | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -7,6 +7,11 @@ ifndef EMACS EMACS = "emacs" endif +DOTEMACS = +ifndef DOTEMACS +DOTEMACS = "~/.config/emacs" +endif + PUBLISH_FOLDER = ifndef PUBLISH_FOLDER PUBLISH_FOLDER=~/desktop/sites/beta.sbr.pm @@ -38,7 +43,7 @@ clean-www: build-www: ${HOME}/src/www/publish-common.el publish.el @echo "Publishing... with current Emacs configurations." - ${EMACS} --batch --directory ${HOME}/.emacs.d/lisp/ \ + ${EMACS} --batch --directory $(DOTEMACS)/lisp/ \ --load ${HOME}/src/www/publish-common.el --load publish.el \ --funcall org-publish-all