diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 64 |
1 files changed, 38 insertions, 26 deletions
@@ -11,6 +11,7 @@ install-bin-man \ install-cabal \ install-cargo \ + install-compton \ install-cpanm \ install-curl \ install-dillo \ @@ -47,6 +48,7 @@ install-subversion \ install-systemd \ install-terminfo \ + install-thunar \ install-tidy \ install-tmux \ install-urxvt \ @@ -225,7 +227,8 @@ BINS = bin/ap \ bin/xgo \ bin/xgoc \ bin/xrbg \ - bin/xrq + bin/xrq \ + bin/xsnap BINS_M4 = bin/chn.m4 \ bin/dfv.m4 \ @@ -277,7 +280,7 @@ all: $(BINS) \ git/config \ gnupg/profile.d/gnupg.sh \ less/less \ - X/xsession + x/xsession clean distclean: rm -f -- \ @@ -296,7 +299,7 @@ clean distclean: less/less \ mutt/filters/markdown-to-html \ urxvt/ext/select \ - X/xsession + x/xsession .awk: sh bin/shb.sh awk -f < $< > $@ @@ -377,7 +380,7 @@ install-abook: mkdir -p -- $(HOME)/.abook cp -p -- abook/abookrc $(HOME)/.abook -install-bash: check-bash install-sh bin/han +install-bash: check-bash install-sh bin/han mkdir -p -- $(HOME)/.bashrc.d $(HOME)/.local/bin cp -p -- bash/bashrc $(HOME)/.bashrc cp -p -- bash/bashrc.d/*.bash $(HOME)/.bashrc.d @@ -405,6 +408,9 @@ install-cabal: install-cargo: cp -p -- cargo/profile.d/*.sh $(HOME)/.profile.d +install-compton: install-x + cp -p -- compton/xsession.d/* $(HOME)/.xsession.d + install-cpanm: cp -p -- cpanm/profile.d/*.sh $(HOME)/.profile.d @@ -416,8 +422,6 @@ install-dillo: dillo/dillorc install-x cp -p -- dillo/dillorc $(HOME)/.dillo/dillorc install-dunst: install-x - mkdir -p -- $(XDG_CONFIG_HOME)/dunst - cp -p -- dunst/dunstrc $(XDG_CONFIG_HOME)/dunst cp -p -- dunst/xsession.d/* $(HOME)/.xsession.d install-emacs: emacs/bin/emacsm install-sh @@ -464,16 +468,21 @@ install-i3: install-x mkdir -p -- $(XDG_CONFIG_HOME)/i3 cp -p -- i3/* $(XDG_CONFIG_HOME)/i3 -install-keychain: install-sh - cp -p -- keychain/profile.d/*.sh $(HOME)/.profile.d - cp -p -- keychain/shrc.d/*.sh $(HOME)/.shrc.d - install-less: less/less mkdir -p -- $(HOME)/.profile.d cp -- less/profile.d/*.sh $(HOME)/.profile.d mkdir -p -- $(XDG_CONFIG_HOME)/less cp -p -- less/less $(XDG_CONFIG_HOME)/less/key +install-logrotate: + mkdir -p -- $(XDG_CONFIG_HOME)/logrotate \ + $(XDG_CONFIG_HOME)/logrotate/config.d + cp -- logrotate/config $(XDG_CONFIG_HOME)/logrotate + mkdir -p -- $(XDG_CONFIG_HOME)/systemd/user + cp -p -- logrotate/systemd/user/* $(XDG_CONFIG_HOME)/systemd/user + -systemctl --user enable logrotate.timer + -systemctl --user start logrotate.timer + install-mail: cp -p -- mail/signature $(HOME)/.signature @@ -508,11 +517,10 @@ install-ncmpcpp: install-newsboat: install-systemd mkdir -p -- $(XDG_CONFIG_HOME)/newsboat $(XDG_DATA_HOME)/newsboat cp -p -- newsboat/config $(XDG_CONFIG_HOME)/newsboat - -command -v systemctl >/dev/null 2>&1 \ - && mkdir -p -- $(XDG_CONFIG_HOME)/systemd/user \ - && cp -p -- newsboat/systemd/user/* $(XDG_CONFIG_HOME)/systemd/user \ - && systemctl --user enable newsboat.service \ - && systemctl --user start newsboat.service + mkdir -p -- $(XDG_CONFIG_HOME)/systemd/user + cp -p -- newsboat/systemd/user/* $(XDG_CONFIG_HOME)/systemd/user + -systemctl --user enable newsboat.service + -systemctl --user start newsboat.service install-mysql: cp -p -- mysql/my.cnf $(HOME)/.my.cnf @@ -576,10 +584,9 @@ install-subversion: cp -p -- subversion/config $(HOME)/.subversion install-systemd: - -command -v systemctl >/dev/null 2>&1 \ - && mkdir -p -- $(XDG_CONFIG_HOME)/systemd/user \ - && cp -p -- systemd/user/* $(XDG_CONFIG_HOME)/systemd/user \ - && systemctl --user daemon-reload \ + mkdir -p -- $(XDG_CONFIG_HOME)/systemd/user + cp -p -- systemd/user/* $(XDG_CONFIG_HOME)/systemd/user + -systemctl --user daemon-reload # Need to install these in appropriate order to meet dependencies; could trust # the system glob, but a fixed list is just more straightforward @@ -593,6 +600,9 @@ install-terminfo: tic terminfo/screen.ti tic terminfo/screen-256color.ti +install-thunar: install-x + cp -p -- thunar/xsession.d/* $(HOME)/.xsession.d + install-tidy: install-sh cp -p -- tidy/profile.d/*.sh $(HOME)/.profile.d mkdir -p -- $(XDG_CONFIG_HOME)/tidy @@ -644,13 +654,15 @@ install-wget: install-sh mkdir -p -- $(XDG_CACHE_HOME)/wget $(XDG_CONFIG_HOME)/wget cp -p -- wget/wgetrc $(XDG_CONFIG_HOME)/wget/wgetrc -install-x: X/xsession check-xsession +install-x: x/xsession check-xsession install-logrotate mkdir -p -- \ $(HOME)/.xsession.d \ - $(HOME)/.Xresources.d - cp -p -- X/xsession $(HOME)/.xsession - cp -p -- X/Xresources $(HOME)/.Xresources - cp -p -- X/Xresources.d/* $(HOME)/.Xresources.d + $(HOME)/.Xresources.d \ + $(XDG_CONFIG_HOME)/log/xsession + cp -p -- x/xsession $(HOME)/.xsession + cp -p -- x/Xresources $(HOME)/.Xresources + cp -p -- x/Xresources.d/* $(HOME)/.Xresources.d + cp -p -- x/logrotate/config.d/* $(XDG_CONFIG_HOME)/logrotate/config.d install-yt-dlp install-youtube-dl: mkdir -p -- $(XDG_CONFIG_HOME)/yt-dlp @@ -669,7 +681,7 @@ check: check-bin \ check-man \ check-sh -check-bash: +check-bash: bin/han sh check/bash.sh check-bin: $(BINS) @@ -696,7 +708,7 @@ check-sh: check-urxvt: urxvt/ext/select sh check/urxvt.sh -check-xsession: X/xsession +check-xsession: x/xsession sh check/xsession.sh check-zsh: |