Commit eb38ae8b0563

Vincent Demeester <vincent@sbr.pm>
2020-04-04 18:58:40
Makefile: update .PHONY targets ๐Ÿš•
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent b823af6
Changed files (1)
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/ \