Commit 2970300a05b4

Vincent Demeester <vincent@sbr.pm>
2020-06-01 15:50:52
Makefile: add SRCHOME to setup
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent e4a5c33
Changed files (2)
Makefile
@@ -12,6 +12,7 @@ DOTNIXPKGS = ~/.config/nixpkgs
 ETCNIXOS = /etc/nixos
 SYNCDIR = /home/vincent/sync/nixos
 SRCWWW = ~/src/www
+SRCHOME = ~/src/home
 
 # Targets
 .PHONY: all
@@ -118,7 +119,7 @@ doctor:
 	@readlink $(DOTNIXPKGS) || $(error $(DOTNIXPKGS) is not correctly linked, you may need to run setup)
 
 .PHONY: setup
-setup: $(DOTEMACS) $(DOTGNUS) $(DOTNIXPKGS) $(SYNCDIR)
+setup: $(DOTEMACS) $(DOTGNUS) $(DOTNIXPKGS) $(SYNCDIR) $(SRCHOME)
 
 $(DOTEMACS):
 	@echo "Link $(DOTEMACS) to $(CURDIR)/tools/emacs"
@@ -132,5 +133,9 @@ $(DOTNIXPKGS):
 	@echo "Link $(DOTNIXPKGS) to $(CURDIR)"
 	@ln -s $(CURDIR) $(DOTNIXPKGS)
 
+$(SRCHOME):
+	@echo "Make sure $(SRCHOME) exists"
+	@ln -s ${PWD} $(SRCHOME)
+
 $(SYNCDIR):
 	$(error $(SYNCDIR) is not present, you need to configure syncthing before running this command)
tasks.org
@@ -572,3 +572,7 @@
 This will allow to use hunspell, ispell, …
 
 - configure this is h-m and emacs
+
+* TODO git.sbr.systems
+
+Mirrors 👼