home

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

commit eb38ae8b0563b9f843ee05ffaab0533497f612bf
parent b823af6112d720e48be6b7ca801247355df9a590
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Sat,  4 Apr 2020 18:58:40 +0200

Makefile: update .PHONY targets 🚕

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

Diffstat:
MMakefile | 11+++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,7 +1,5 @@ # Makefile for home -.PHONY: all build build-www clean publish pull switch update - EMACS = ifndef EMACS EMACS = "emacs" @@ -17,30 +15,39 @@ ifndef PUBLISH_FOLDER PUBLISH_FOLDER=~/desktop/sites/beta.sbr.pm endif +.PHONY: all all: build +.PHONY: update update: nix-channel --update +.PHONY: pull pull: (cd overlays/emacs-overlay && git pull --rebase) +.PHONY: assets assets: cp -Rv ~/sync/nixos/machines.nix assets/ +.PHONY: build build: assets home-manager build +.PHONY: switch switch: assets home-manager switch +.PHONY: clean clean: unlink result +.PHONY: clean-www clean-www: @rm -rvf *.elc @rm -rv ~/.org-timestamps/* +.PHONY: build-www build-www: ${HOME}/src/www/publish-common.el publish.el @echo "Publishing... with current Emacs configurations." ${EMACS} --batch --directory $(DOTEMACS)/lisp/ \