commit 2970300a05b4a92ea65be91fbeff6f597df91cf0
parent e4a5c3388e6f6f69074deb07d10ece94823b2513
Author: Vincent Demeester <vincent@sbr.pm>
Date: Mon, 1 Jun 2020 15:50:52 +0200
Makefile: add SRCHOME to setup
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/Makefile b/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)
diff --git a/tasks.org b/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 👼