]> git.rmz.io Git - dotfiles.git/blobdiff - Makefile
Makefile: add gnupg target
[dotfiles.git] / Makefile
index 8a2c883db9effd8e206dbc0f57ce795efad8e2bb..8af2d32f360651b9169a79b9ccf7faa13cc8b07b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ APATH := $(realpath .)
 
 FILES := bin
 DOTFILES := conky* goobookrc msmtp* mutt profile tmux.conf weechat Xresources
-CONFIGFILES := aliases compton.conf git gnupg mpv offlineimap ranger retroarch xbindkeys xkb
+CONFIGFILES := aliases compton.conf git mpv offlineimap ranger retroarch xbindkeys xkb
 
 .PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
 install: $(FILES) $(DOTFILES) $(CONFIGFILES)
@@ -41,6 +41,12 @@ systemd:
        ln -sfT $(APATH)/$@ ~/.config/$@
 .PHONY: systemd
 
+gnupg: systemd
+       ln -sfT $(APATH)/$@ ~/.config/$@
+       systemctl --user enable gpg-agent.socket gpg-agent-extra.socket gpg-agent-browser.socket dirmngr.socket
+       systemctl --user start gpg-agent.socket gpg-agent-extra.socket gpg-agent-browser.socket dirmngr.socket
+.PHONY: gnupg
+
 zsh:
        ln -sfT $(APATH)/zshrc ~/.zshrc
        ln -sfT $(APATH)/zprofile ~/.zprofile