aboutsummaryrefslogtreecommitdiffstats
path: root/base/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'base/Makefile')
-rw-r--r--base/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/base/Makefile b/base/Makefile
index dd780a6..607a0da 100644
--- a/base/Makefile
+++ b/base/Makefile
@@ -29,6 +29,11 @@ install:
test -L ~/.config/locations/current || ln -sf default ~/.config/locations/current
ln -sf locations/current/geolocation ~/.config/geolocation
ln -sf locations/current/metar ~/.config/metar
+ mkdir -p -- ~/.local/bin
+ test ! -d ~/.local/bin/iswork
+ test -x /bin/false
+ ln -sf -- /bin/false ~/.local/bin/iswork
+ test ! -r ../.secrets/bin/Makefile || make -C ../.secrets/bin install
uninstall:
-unlink -- ~/.config/profile
@@ -37,5 +42,7 @@ uninstall:
-unlink -- ~/.config/locations
-unlink -- ~/.config/geolocation
-unlink -- ~/.config/metar
+ -unlink -- ~/.local/bin/iswork
+ -test ! -r ../.secrets/bin/Makefile || make -C ../.secrets/bin uninstall
.PHONY: install uninstall