]> git.rmz.io Git - dotfiles.git/blobdiff - Makefile
gdb: add gdbinit and cgdbrc
[dotfiles.git] / Makefile
index 034683df0140157763e25856664a29f0d64b8f50..9b8fe2ffdafb5c78cc8c162f527e54fb703f78b9 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)
@@ -16,6 +16,10 @@ vim:
        git clone https://github.com/gmarik/vundle ~/.local/share/vim/vundle
 .PHONY: vim
 
+gdb:
+       ln -sfT $(APATH)/gdbinit ~/.gdbinit
+       ln -sfT $(APATH)/cgdb ~/.cgdb
+
 awesome: ~/.config
        ln -sfT $(APATH)/awesome ~/.config/awesome
 .PHONY: awesome
@@ -25,9 +29,11 @@ qutebrowser: ~/.config
        mkdir -p ~/downloads
 .PHONY: qutebrowser
 
-mpd:
+mpd: systemd
        ln -sfT $(APATH)/mpd ~/.config/mpd
        mkdir -p ~/.local/share/mpd/playlists
+       systemctl --user enable mpd
+       systemctl --user start mpd
 .PHONY: mpd
 
 ncmpcpp:
@@ -39,6 +45,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