diff options
Diffstat (limited to 'libcontacts')
-rw-r--r-- | libcontacts/.gitignore | 1 | ||||
-rw-r--r-- | libcontacts/Makefile | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/libcontacts/.gitignore b/libcontacts/.gitignore new file mode 100644 index 0000000..9b698a0 --- /dev/null +++ b/libcontacts/.gitignore @@ -0,0 +1 @@ +/contacts/ diff --git a/libcontacts/Makefile b/libcontacts/Makefile new file mode 100644 index 0000000..7b7ad08 --- /dev/null +++ b/libcontacts/Makefile @@ -0,0 +1,15 @@ +.POSIX: + +install: + mkdir -p -- ~/.config + if test ! -L ~/.config/contacts; then \ + test ! -e ~/.config/contacts && \ + ln -sf -- ~/.dotfiles/libcontacts/contacts ~/.config/contacts; \ + else \ + test "$(readlink ~/.config/contacts)" = ~/.dotfiles/libcontacts/contacts; \ + fi + +uninstall: + -unlink -- ~/.config/contacts + +.PHONY: install uninstall |